summaryrefslogtreecommitdiff
path: root/arch/x86/mm/pageattr.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-11-15 14:48:56 -0800
committerIngo Molnar <mingo@elte.hu>2011-12-05 17:10:20 +0100
commit706d9a9c8b5758390036b9980a2b12d809599777 (patch)
treeb44098f91c6d8e1560e9488fe619e3e789f3d465 /arch/x86/mm/pageattr.c
parentd1bbdd669298b7ca08284ddb29153dfc039dd89d (diff)
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>
Diffstat (limited to 'arch/x86/mm/pageattr.c')
0 files changed, 0 insertions, 0 deletions