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

From: Guenter Roeck

Date: Tue Mar 03 2026 - 12:08:23 EST


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