diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-10-18 11:18:22 +0800 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-10-18 13:52:05 +0200 |
commit | 6d80f20c5328ad24dde0fddb980f60734a17b911 (patch) | |
tree | f5bbd63bb0cf3f74121b14af2e6d6726bd67d431 /arch/sh/boards/mach-sdk7786/nmi.c | |
parent | 04ce8d3f40cd2dfe48d04d94b79e0c0be60b1339 (diff) | |
download | linux-stable-6d80f20c5328ad24dde0fddb980f60734a17b911.tar.gz linux-stable-6d80f20c5328ad24dde0fddb980f60734a17b911.tar.bz2 linux-stable-6d80f20c5328ad24dde0fddb980f60734a17b911.zip |
sh: Use pr_warn instead of pr_warning
As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.
Link: http://lkml.kernel.org/r/20191018031850.48498-5-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'arch/sh/boards/mach-sdk7786/nmi.c')
-rw-r--r-- | arch/sh/boards/mach-sdk7786/nmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-sdk7786/nmi.c b/arch/sh/boards/mach-sdk7786/nmi.c index c2e09d798537..afba49679a12 100644 --- a/arch/sh/boards/mach-sdk7786/nmi.c +++ b/arch/sh/boards/mach-sdk7786/nmi.c @@ -37,7 +37,7 @@ static int __init nmi_mode_setup(char *str) nmi_mode = NMI_MODE_ANY; else { nmi_mode = NMI_MODE_UNKNOWN; - pr_warning("Unknown NMI mode %s\n", str); + pr_warn("Unknown NMI mode %s\n", str); } printk("Set NMI mode to %d\n", nmi_mode); |