Re: [PATCH] staging: iio: adt7316: replace sprintf() with sysfs_emit()

From: Andy Shevchenko
Date: Sun Nov 16 2025 - 06:08:56 EST


On Sun, Nov 16, 2025 at 12:16 PM Shi Hao <i.shihao.999@xxxxxxxxx> wrote:
>
> 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.

I briefly looked at it and see no issues,
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko