[PATCH] arm: mm: fault: use string choices helper

Andy Shevchenko andy.shevchenko at gmail.com
Mon Jun 16 23:19:15 PDT 2025


On Tue, Jun 17, 2025 at 3:06 AM Kuninori Morimoto
<kuninori.morimoto.gx at renesas.com> wrote:

Missing commit message.

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

...

>         pr_alert("Unable to handle kernel %s at virtual address %08lx when %s\n",
>                  msg, addr, fsr & FSR_LNX_PF ? "execute" :
> -                fsr & FSR_WRITE ? "write" : "read");
> +                str_write_read(fsr & FSR_WRITE));

Make it now one line with the ternary (either moving the last to the
previous, or resplit the previous by the parameter delimiter.

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list