]> git.kernelconcepts.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, 5 Oct 2011 00:42:26 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:08 +0000 (17:49 +1100)
commit9905199fb1f4c2befbc94ce80ab7c15d062c2190
treeacd0634a267998fc2a006ad0e3003922b123d537
parentfe6431307683b1169b79e4a4f151f4a104050b0f
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