Re: [PATCH 3/3] sh: dma: drop redundant size argument from strscpy in request_dma

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.kernel
Message-ID <CAMuHMdWHv+BFMro=pM=PKR_1gya0HXEowMAzq8vGb4bPVvp6cg@mail.gmail.com>
On Mon, 20 Apr 2026 at 17:28, Thorsten Blum <[email protected]> wrote:
> The strscpy() size argument is optional if the destination buffer has a
> fixed length. Use the two-argument version of strscpy() to copy 'dev_id'
> to simplify the code.
>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.