summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-07-04 00:05:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:45 +0200
commitff1c8fac88ab8e7dac65236b277908c7c5c7ab09 (patch)
tree83d3dc572683e7151e4f2ec9ecea5ff8ad5e007f /init/do_mounts.c
parentcheckpatch: cache last camelcase hash as .checkpatch-camelcase.<commit> (diff)
downloadlinux-ff1c8fac88ab8e7dac65236b277908c7c5c7ab09.tar.xz
linux-ff1c8fac88ab8e7dac65236b277908c7c5c7ab09.zip
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 <rostedt@goodmis.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions