]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/x86/kernel/e820.c: quiet sparse noise about plain integer as NULL pointer
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 28 Sep 2011 00:49:41 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:18 +0000 (18:38 +1100)
commit5924b4ff32a18fce44cedfcb05446d2d55b9d6dc
tree1c4c314fcd344123dea0176a787402b26195d55c
parent7e26079d5a0f8b8e8352828e35de4c1a85ea0933
arch/x86/kernel/e820.c: quiet sparse noise about plain integer as NULL pointer

The last parameter to sort() is a pointer to the function used to swap
items.  This parameter should be NULL, not 0, when not used.  This quiets
the following sparse warning:

warning: Using plain integer as NULL pointer

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <>
arch/x86/kernel/e820.c