[PATCH] riscv: Mark default_power_off() as __noreturn

Paul Walmsley pjw at kernel.org
Wed Jul 29 11:37:44 PDT 2026


On Mon, 27 Jul 2026, Thorsten Blum wrote:

> Since default_power_off() never returns, annotate it with the __noreturn
> attribute to improve compiler optimizations.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>

Thanks, queued for v7.3.


- Paul



More information about the linux-riscv mailing list