Re: [PATCH] arm64: kexec: include reboot.h

2023-04-20 Thread Will Deacon
On Tue, 18 Apr 2023 13:54:00 +0200, Simon Horman wrote: > Include reboot.h in machine_kexec.c for declaration of > machine_crash_shutdown. > > gcc-12 with W=1 reports: > > arch/arm64/kernel/machine_kexec.c:257:6: warning: no previous prototype for > 'machine_crash_shutdown'

[PATCH] arm64: kexec: include reboot.h

2023-04-18 Thread Simon Horman
Include reboot.h in machine_kexec.c for declaration of machine_crash_shutdown. gcc-12 with W=1 reports: arch/arm64/kernel/machine_kexec.c:257:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes] 257 | void machine_crash_shutdown(struct pt_regs *regs) No