lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220929042936.22012-5-bhe@redhat.com>
Date:   Thu, 29 Sep 2022 12:29:36 +0800
From:   Baoquan He <bhe@...hat.com>
To:     linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Cc:     kexec@...ts.infradead.org, ebiederm@...ssion.com,
        Chen Lifu <chenlifu@...wei.com>, Baoquan He <bhe@...hat.com>,
        linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
        pmladek@...e.com
Subject: [PATCH RESEND 4/4] ARM: kexec: Make machine_crash_nonpanic_core() static

From: Chen Lifu <chenlifu@...wei.com>

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?

Signed-off-by: Chen Lifu <chenlifu@...wei.com>
Acked-by: Baoquan He <bhe@...hat.com>
Signed-off-by: Baoquan He <bhe@...hat.com>
Cc: linux@...linux.org.uk
Cc: linux-arm-kernel@...ts.infradead.org
Cc: pmladek@...e.com
---
 arch/arm/kernel/machine_kexec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c
index f567032a09c0..a2e9ac763a9f 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;
 
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ