summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorShi Hao <i.shihao.999@gmail.com>2025-11-16 13:16:20 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-11-16 18:25:08 +0300
commitf9e05791642810a0cf6237d39fafd6fec5e0b4bb (patch)
treea943e83231a6a58e6e045898bd043d77d6bc8eb2 /scripts/patch-kernel
parent02d44a1b64f11cdbcd5349063f149309c42a9fa5 (diff)
downloadlinux-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