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 /rust/helpers/processor.c | |
| parent | bus: fsl-mc: Check return value of platform_get_resource() (diff) | |
| download | linux-a50522c805a6c575c80f41b04706e084d814e116.tar.gz linux-a50522c805a6c575c80f41b04706e084d814e116.zip | |
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 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions
