arch/x86/kernel/e820.c: quiet sparse noise about plain integer as NULL pointer
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 15 Nov 2011 22:48:56 +0000 (14:48 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 16:10:20 +0000 (17:10 +0100)
commit706d9a9c8b5758390036b9980a2b12d809599777
treeb44098f91c6d8e1560e9488fe619e3e789f3d465
parentd1bbdd669298b7ca08284ddb29153dfc039dd89d
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>
Cc: hartleys@visionengravers.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c