Re: [PATCH] sh: sq: use str_plural helper in sq_remap

Geert Uytterhoeven <[email protected]> Thu, 4 Jun 2026 13:30:49 +0200
Newsgroups org.kernel.vger.linux-sh,org.kernel.vger.linux-kernel
Message-ID <CAMuHMdUowmbWMrgKVbVSgN02a2RdfAfJ8QK1QdOcrd+LrR4Ejw@mail.gmail.com>
On Thu, 4 Jun 2026 at 13:20, Thorsten Blum <[email protected]> wrote:
> Replace the manual ternary "s" pluralization with str_plural() to
> simplify the code. Use the format specifier %-1s to preserve the
> whitespace alignment.
>
> Simplify the map->name ternary expression while at it.
>
> Signed-off-by: Thorsten Blum <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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