Skip to content

Commit 08d9e68

Browse files
Qiujun Huangrostedt
authored andcommitted
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/[email protected] Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Qiujun Huang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 78041c0 commit 08d9e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ static char * __init xbc_make_cmdline(const char *key)
335335
return new_cmdline;
336336
}
337337

338-
u32 boot_config_checksum(unsigned char *p, u32 size)
338+
static u32 boot_config_checksum(unsigned char *p, u32 size)
339339
{
340340
u32 ret = 0;
341341

0 commit comments

Comments
 (0)