Re: [PATCH v2 1/5] hwmon: (tc74) Replace sprintf() with sysfs_emit()
From: Guenter Roeck
Date: Tue Mar 03 2026 - 12:06:01 EST
On Tue, Mar 03, 2026 at 08:54:52PM +0530, Amay Agarwal wrote:
> Replace sprintf() with sysfs_emit() when writing to sysfs buffers.
>
> sysfs_emit() performs proper bounds checking and is the preferred helper
> for sysfs output.
>
> No functional change intended
>
> Signed-off-by: Amay Agarwal <tt@xxxxxxxxxxxxxxxx>
Applied.
Thanks,
Guenter