diff options
| author | Shi Hao <i.shihao.999@gmail.com> | 2025-11-16 13:16:20 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-16 18:25:08 +0300 |
| commit | f9e05791642810a0cf6237d39fafd6fec5e0b4bb (patch) | |
| tree | a943e83231a6a58e6e045898bd043d77d6bc8eb2 /scripts/patch-kernel | |
| parent | 02d44a1b64f11cdbcd5349063f149309c42a9fa5 (diff) | |
| download | linux-f9e05791642810a0cf6237d39fafd6fec5e0b4bb.tar.xz | |
staging: iio: adt7316: replace sprintf() with sysfs_emit()
Convert several sprintf() calls to sysfs_emit() in the
sysfs show functions, as it is the preferred helper and
prevents potential buffer overruns.
No functional changes intended.
Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
