Re: [PATCH] thermal: intel: int340x: Use sysfs_emit{_at} in sysfs show functions

From: Rafael J. Wysocki
Date: Wed Jan 07 2026 - 17:04:38 EST


On Mon, Dec 22, 2025 at 3:43 PM srinivas pandruvada
<srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
>
> On Sat, 2025-12-20 at 23:30 +0100, Thorsten Blum wrote:
> > Replace sprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show
> > functions. sysfs_emit() and sysfs_emit_at() are preferred to format
> > sysfs output as it provides better bounds checking.
> >
> > Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
>
> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>

Applied as 6.20 material, thanks!