Commit 08d9e686 authored by Qiujun Huang's avatar Qiujun Huang Committed by Steven Rostedt (VMware)

bootconfig: Mark boot_config_checksum() static

In fact, this function is only used in this file, so mark it with 'static'.

Link: http://lkml.kernel.org/r/1581852511-14163-1-git-send-email-hqjagain@gmail.comAcked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarQiujun Huang <hqjagain@gmail.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 78041c0c
...@@ -335,7 +335,7 @@ static char * __init xbc_make_cmdline(const char *key) ...@@ -335,7 +335,7 @@ static char * __init xbc_make_cmdline(const char *key)
return new_cmdline; return new_cmdline;
} }
u32 boot_config_checksum(unsigned char *p, u32 size) static u32 boot_config_checksum(unsigned char *p, u32 size)
{ {
u32 ret = 0; u32 ret = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment