From: Randy Dunlap Date: Sat, 10 Feb 2007 09:42:59 +0000 (-0800) Subject: [PATCH] typeof __page_to_pfn with SPARSEMEM=y X-Git-Tag: v2.6.21-rc1~274^2~473 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05b6284ee5d3be51ebe22284fc4b25fc586f380;p=pandora-kernel.git [PATCH] typeof __page_to_pfn with SPARSEMEM=y With CONFIG_SPARSEMEM=y: mm/rmap.c:579: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'int' Make __page_to_pfn() return unsigned long. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed