From: H Hartley Sweeten Date: Tue, 15 Nov 2011 22:48:56 +0000 (-0800) Subject: arch/x86/kernel/e820.c: quiet sparse noise about plain integer as NULL pointer X-Git-Tag: v3.3-rc1~96^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=706d9a9c8b5758390036b9980a2b12d809599777;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Cc: hartleys@visionengravers.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed