]> 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>
Thu, 29 Sep 2011 06:07:51 +0000 (16:07 +1000)
commite59aea38051ddce6302d26a38e02e003ce6f5705
tree76e45a65d2d4263fea4490e4cbf6e81b59778b8c
parentf0dfc0798ebfda92c31ecba0cc0ab7dd60a2b88a
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