[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdUuV=JmoLoEOL1TfBBmFAMbqOGz0oHn3kz1QN_7s_uObQ@mail.gmail.com>
Date: Fri, 21 Apr 2023 09:50:13 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Simon Horman <horms@...nel.org>
Cc: Baoquan He <bhe@...hat.com>,
"Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>,
linux-arm-kernel@...ts.infradead.org,
linux-m68k@...ts.linux-m68k.org, kexec@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] m68k: kexec: include reboot.h
On Fri, Apr 21, 2023 at 9:11 AM Simon Horman <horms@...nel.org> wrote:
> Include reboot.h in machine_kexec.c for declaration of
> machine_crash_shutdown and machine_shutdown.
>
> gcc-12 with W=1 reports:
>
> arch/m68k/kernel/machine_kexec.c:26:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes]
> 26 | void machine_shutdown(void)
> | ^~~~~~~~~~~~~~~~
> arch/m68k/kernel/machine_kexec.c:30:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes]
> 30 | void machine_crash_shutdown(struct pt_regs *regs)
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> No functional changes intended.
> Compile tested only.
>
> Signed-off-by: Simon Horman <horms@...nel.org>
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
i.e. will queue in the m68k for-v6.4 branch.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists