From: Chen Lifu Date: Thu, 29 Sep 2022 04:29:36 +0000 (+0800) Subject: ARM: kexec: make machine_crash_nonpanic_core() static X-Git-Tag: v6.6.7~3978^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f07c647c1f62b3334c2be50b75609ffb20df71d3;p=platform%2Fkernel%2Flinux-starfive.git ARM: kexec: make machine_crash_nonpanic_core() static This symbol is not used outside of the file, so mark it static. Fixes the following warning: arch/arm/kernel/machine_kexec.c:76:6: warning: symbol 'machine_crash_nonpanic_core' was not declared. Should it be static? Link: https://lkml.kernel.org/r/20220929042936.22012-5-bhe@redhat.com Signed-off-by: Chen Lifu Signed-off-by: Baoquan He Acked-by: Baoquan He Cc: "Eric W . Biederman" Cc: Petr Mladek Cc: Russell King Cc: Benjamin Herrenschmidt Cc: Jianglei Nie Cc: Li Chen Cc: Michael Ellerman Cc: Paul Mackerras Cc: ye xingchen Cc: Zeal Robot Signed-off-by: Andrew Morton --- diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index f567032..a2e9ac7 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c @@ -73,7 +73,7 @@ void machine_kexec_cleanup(struct kimage *image) { } -void machine_crash_nonpanic_core(void *unused) +static void machine_crash_nonpanic_core(void *unused) { struct pt_regs regs;