projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78041c0
)
bootconfig: Mark boot_config_checksum() static
author
Qiujun Huang
<hqjagain@gmail.com>
Sun, 16 Feb 2020 11:28:31 +0000
(19:28 +0800)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Thu, 20 Feb 2020 22:43:58 +0000
(17:43 -0500)
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>
init/main.c
patch
|
blob
|
history
diff --git
a/init/main.c
b/init/main.c
index 59248717c925f4f5a74ddc6a5946f848534b0af3..48c87f47a444134f6c09ccfe1a7f54a790195427 100644
(file)
--- 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;