Re: [PATCH v2] m68k: amiga: Mark amiga_reset() as __noreturn
From: Thorsten Blum
Date: Mon Jun 29 2026 - 04:55:50 EST
On Mon, Jun 29, 2026 at 09:25:48AM +0200, Geert Uytterhoeven wrote:
> Hi Thorsten,
>
> Thanks for your patch!
>
> On Fri, 26 Jun 2026 at 16:58, Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
> > [PATCH v2] m68k: amiga: Mark amiga_reset() as __noreturn
>
> This is not what this patch does, as amiga_reset() is already marked
> __noreturn.
I assumed __noreturn on the second prototype would be ignored, but it is
in fact additive.
> > Mark both the forward declaration and the function definition as
> > __noreturn, and remove the redundant redeclaration.
>
> Why both? No other static function (except for xen_pv_play_dead)
> is tagged __noreturn in both the forward declaration and the
> implementation.
Can I blame the heat wave?
I'll send a v3 later.
Thanks,
Thorsten