Fix up one typo: CONFIG_BOOTCONFIG -> CONFIG_BOOT_CONFIG
Cc: Jiri Kosina <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Signed-off-by: Shaokun Zhang <[email protected]>
---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/main.c b/init/main.c
index 1a5da2c2660c..8369ba173ad8 100644
--- a/init/main.c
+++ b/init/main.c
@@ -460,7 +460,7 @@ static void __init setup_boot_config(const char *cmdline)
static int __init warn_bootconfig(char *str)
{
- pr_warn("WARNING: 'bootconfig' found on the kernel command line but CONFIG_BOOTCONFIG is not set.\n");
+ pr_warn("WARNING: 'bootconfig' found on the kernel command line but CONFIG_BOOT_CONFIG is not set.\n");
return 0;
}
early_param("bootconfig", warn_bootconfig);
--
2.7.4
On Sat, 9 May 2020 16:33:55 +0800
Shaokun Zhang <[email protected]> wrote:
> Fix up one typo: CONFIG_BOOTCONFIG -> CONFIG_BOOT_CONFIG
>
> Cc: Jiri Kosina <[email protected]>
> Cc: Steven Rostedt <[email protected]>
> Cc: Masami Hiramatsu <[email protected]>
> Signed-off-by: Shaokun Zhang <[email protected]>
Good catch! Thanks!
Acked-by: Masami Hiramatsu <[email protected]>
> ---
> init/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/main.c b/init/main.c
> index 1a5da2c2660c..8369ba173ad8 100644
> --- a/init/main.c
> +++ b/init/main.c
> @@ -460,7 +460,7 @@ static void __init setup_boot_config(const char *cmdline)
>
> static int __init warn_bootconfig(char *str)
> {
> - pr_warn("WARNING: 'bootconfig' found on the kernel command line but CONFIG_BOOTCONFIG is not set.\n");
> + pr_warn("WARNING: 'bootconfig' found on the kernel command line but CONFIG_BOOT_CONFIG is not set.\n");
> return 0;
> }
> early_param("bootconfig", warn_bootconfig);
> --
> 2.7.4
>
--
Masami Hiramatsu <[email protected]>