From: Kefeng Wang Date: Fri, 18 Oct 2019 03:18:21 +0000 (+0800) Subject: riscv: Use pr_warn instead of pr_warning X-Git-Tag: v5.15~5095^2~2^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04ce8d3f40cd2dfe48d04d94b79e0c0be60b1339;p=platform%2Fkernel%2Flinux-starfive.git 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 _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 Cc: Palmer Dabbelt Cc: Albert Ou Signed-off-by: Kefeng Wang Acked-by: Palmer Dabbelt Reviewed-by: Sergey Senozhatsky Signed-off-by: Petr Mladek --- diff --git a/arch/riscv/kernel/module.c b/arch/riscv/kernel/module.c index 70bb94a..b740185 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; }