From: Joe Perches Date: Tue, 22 Mar 2011 23:34:19 +0000 (-0700) Subject: vsprintf: neaten %pK kptr_restrict, save a bit of code space X-Git-Tag: v2.6.39-rc1~257 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26297607e09ca6c7e6f2a6b86a8bee2f23503bb8;p=pandora-kernel.git vsprintf: neaten %pK kptr_restrict, save a bit of code space If kptr restrictions are on, just set the passed pointer to NULL. $ size lib/vsprintf.o.* text data bss dec hex filename 8247 4 2 8253 203d lib/vsprintf.o.new 8282 4 2 8288 2060 lib/vsprintf.o.old Signed-off-by: Joe Perches Cc: Dan Rosenberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed