]> 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>
Fri, 30 Sep 2011 04:53:10 +0000 (14:53 +1000)
commit83225f7b7bc4906399db975492bf22e9d21822d2
tree6885359c579ced64126d1795a6f81bf4554b38c8
parent922810077025a1e76e622b669fcd0c7670872b63
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