Linux-ARM-Kernel Archive on
 help / color / Atom feed
* [PATCH] arm: kexec: Make function static
@ 2019-05-22  9:59 Philippe Mazenauer
  0 siblings, 0 replies; only message in thread
From: Philippe Mazenauer @ 2019-05-22  9:59 UTC (permalink / raw)
  Cc: Philippe Mazenauer, Will Deacon, Russell King,
	moderated list:ARM PORT, open list

Make function machine_crash_nonpanic_core() static, as it is only
referenced in this file.

../arch/arm/kernel/machine_kexec.c:82:6: warning: no previous prototype for ‘machine_crash_nonpanic_core’ [-Wmissing-prototypes]
 void machine_crash_nonpanic_core(void *unused)

Signed-off-by: Philippe Mazenauer <>
 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 76300f3813e8..245621573802 100644
--- a/arch/arm/kernel/machine_kexec.c
+++ b/arch/arm/kernel/machine_kexec.c
@@ -79,7 +79,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;

linux-arm-kernel mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22  9:59 [PATCH] arm: kexec: Make function static Philippe Mazenauer

Linux-ARM-Kernel Archive on

Archives are clonable:
	git clone --mirror linux-arm-kernel/git/0.git
	git clone --mirror linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ \
	public-inbox-index linux-arm-kernel

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox