Re: [PATCH v2] m68k: amiga: Mark amiga_reset() as __noreturn
Thorsten Blum <[email protected]> Mon, 29 Jun 2026 10:55:23 +0200
| Newsgroups | org.kernel.vger.linux-m68k,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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