]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: light: isl29018: replace sprintf() with safer alternatives
authorTomas Borquez <tomasborquez13@gmail.com>
Wed, 26 Nov 2025 20:32:40 +0000 (17:32 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 21 Dec 2025 11:41:12 +0000 (11:41 +0000)
commit5a306a64bf790ed084601d7f3e89d5dc4a18a5c2
tree6df1f20be91eeb43102950b761e2c5fe60ca43e1
parentce40e01d7ce2a15ba14fde314df30787fa1d58cb
iio: light: isl29018: replace sprintf() with safer alternatives

This patch replaces sprintf() with sysfs_emit() and sysfs_emit_at() safer
alternative with no functional changes.

Signed-off-by: Tomas Borquez <tomasborquez13@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/isl29018.c