diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-01-11 01:04:31 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-13 13:19:39 -0500 |
commit | 0068c92a92707789b8711e40d584a2433481a29d (patch) | |
tree | 311dd6449f4e3bd31ccd843ca36da0d342a85610 /lib/random32.c | |
parent | c1a3c36017d4c4a4c61aa5f86704b7e80b92d3f7 (diff) |
init/main.c: Alloc initcall_command_line in do_initcall() and free it
Since initcall_command_line is used as a temporary buffer,
it could be freed after usage. Allocate it in do_initcall()
and free it after used.
Link: http://lkml.kernel.org/r/157867227145.17873.17513760552008505454.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions