Skip to content

Commit

Permalink
bootconfig: Mark boot_config_checksum() static
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Qiujun Huang authored and rostedt committed Feb 20, 2020
1 parent 78041c0 commit 08d9e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 08d9e68

Please sign in to comment.