summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-02-16 12:28:31 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-02-20 23:43:58 +0100
commit08d9e686426f7557d3f1cda219ff907397c89d53 (patch)
tree2681e8552293a55db0148f23e7a7979b66b2bed8 /init
parenttracing: Disable trace_printk() on post poned tests (diff)
downloadlinux-08d9e686426f7557d3f1cda219ff907397c89d53.tar.xz
linux-08d9e686426f7557d3f1cda219ff907397c89d53.zip
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.com Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 59248717c925..48c87f47a444 100644
--- a/init/main.c
+++ b/init/main.c
@@ -335,7 +335,7 @@ static char * __init xbc_make_cmdline(const char *key)
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;