Re: [PATCH] sh: dma: use strscpy in register_dmac

From: Geert Uytterhoeven

Date: Mon May 11 2026 - 07:36:39 EST


On Sun, 10 May 2026 at 18:11, Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
> Replace memcpy() and the hard-coded string length with strscpy() to
> improve register_dmac().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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