diff options
| author | Chelsy Ratnawat <chelsyratnawat2001@gmail.com> | 2026-02-13 11:12:18 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-19 16:29:51 +0100 |
| commit | b7a5b454b7f7a85a07fc047f3b0dbc672e55561f (patch) | |
| tree | 7bb03b3063e0d4f15c45642802b4bbacd4e170b0 /include/net/aligned_data.h | |
| parent | a22fe7581f113df777be367bddb0f8fb1340643f (diff) | |
bus: fsl-mc: Replace snprintf and sprintf with sysfs_emit in sysfs show functions
[ Upstream commit a50522c805a6c575c80f41b04706e084d814e116 ]
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>
Stable-dep-of: 148891e95014 ("bus: fsl-mc: fix use-after-free in driver_override_show()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
