diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2019-10-18 05:18:21 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-10-18 10:48:36 +0200 |
commit | 04ce8d3f40cd2dfe48d04d94b79e0c0be60b1339 (patch) | |
tree | fd1ebaf21fca45b55ef4f6f4bafcc707d0ec70f7 | |
parent | ia64: Use pr_warn instead of pr_warning (diff) | |
download | linux-04ce8d3f40cd2dfe48d04d94b79e0c0be60b1339.tar.xz linux-04ce8d3f40cd2dfe48d04d94b79e0c0be60b1339.zip |
riscv: 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-4-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
-rw-r--r-- | arch/riscv/kernel/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/kernel/module.c b/arch/riscv/kernel/module.c index 70bb94ae61c5..b7401858d872 100644 --- a/arch/riscv/kernel/module.c +++ b/arch/riscv/kernel/module.c @@ -315,8 +315,8 @@ int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, /* Ignore unresolved weak symbol */ if (ELF_ST_BIND(sym->st_info) == STB_WEAK) continue; - pr_warning("%s: Unknown symbol %s\n", - me->name, strtab + sym->st_name); + pr_warn("%s: Unknown symbol %s\n", + me->name, strtab + sym->st_name); return -ENOENT; } |