]> 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>
Tue, 8 Nov 2011 00:19:53 +0000 (11:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 11 Nov 2011 03:20:26 +0000 (14:20 +1100)
commit65c887d76cb9873eec4ef4e3b6d64f1472827b56
tree1a09db910df688ab0ba960ad90a4fdea6aa618d6
parent962808f944176b073757b5e9ed3dc528ed4f8d0a
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 <akpm@linux-foundation.org>
arch/x86/kernel/e820.c