Re: [PATCH v2 5/5] hwmon: (emc1403) Replace sprintf() with sysfs_emit()

From: Guenter Roeck

Date: Tue Mar 03 2026 - 12:07:29 EST


On Tue, Mar 03, 2026 at 08:54:56PM +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