From: Steven Rostedt Date: Wed, 3 Jul 2013 22:05:37 +0000 (-0700) Subject: init: remove permanent string buffer from do_one_initcall() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1c8fac88ab8e7dac65236b277908c7c5c7ab09;p=pandora-kernel.git init: remove permanent string buffer from do_one_initcall() do_one_initcall() uses a 64 byte string buffer to save a message. This buffer is declared static and is only used at boot up and when a module is loaded. As 64 bytes is very small, and this function has very limited scope, there's no reason to waste permanent memory with this string and not just simply put it on the stack. Signed-off-by: Steven Rostedt Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed