Re: [PATCH 1/3] sh: dma-sysfs: use sysfs_emit{_at} in show functions
Geert Uytterhoeven <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <CAMuHMdW7ozfH2cLmtHYVsYSsz31jPs103d2FFhsTFaiwDp5=aA@mail.gmail.com> |
On Mon, 20 Apr 2026 at 17:28, Thorsten Blum <[email protected]> wrote: > Replace sprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show > functions. sysfs_emit() and sysfs_emit_at() are preferred for formatting > sysfs output because they provide safer bounds checking. > > 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