diff options
author | Chelsy Ratnawat <chelsyratnawat2001@gmail.com> | 2025-08-22 05:43:39 -0700 |
---|---|---|
committer | Christophe Leroy <christophe.leroy@csgroup.eu> | 2025-08-25 19:55:03 +0200 |
commit | a50522c805a6c575c80f41b04706e084d814e116 (patch) | |
tree | d8fe6daef0cfc962bed2c3e75e842ee42b1f7c4b /kernel/bpf/arraymap.c | |
parent | 25f526507b8ccc6ac3a43bc094d09b1f9b0b90ae (diff) |
bus: fsl-mc: Replace snprintf and sprintf with sysfs_emit in sysfs show functions
Use sysfs_emit() instead of snprintf()/sprintf() when writing
to sysfs buffers, as recommended by the kernel documentation.
Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@gmail.com>
Acked-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20250822124339.1739290-1-chelsyratnawat2001@gmail.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions