summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-02-16 14:28:31 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-02-21 01:43:58 +0300
commit08d9e686426f7557d3f1cda219ff907397c89d53 (patch)
tree2681e8552293a55db0148f23e7a7979b66b2bed8 /init/main.c
parent78041c0c9e935d9ce4086feeff6c569ed88ddfd4 (diff)
downloadlinux-08d9e686426f7557d3f1cda219ff907397c89d53.tar.xz
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/main.c')
-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;