Re: [PATCH] hid: replace scnprintf() with sysfs_emit()
From: Jiri Kosina
Date: Fri Jun 20 2025 - 03:15:22 EST
On Thu, 19 Jun 2025, Chelsy Ratnawat wrote:
> Documentation/filesystems/sysfs.rst mentions that show() should only
> use sysfs_emit() or sysfs_emit_at() when formating the value to be
> returned to user space. So replace scnprintf() with sysfs_emit().
>
> Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001@xxxxxxxxx>
Applied, thanks.
--
Jiri Kosina
SUSE Labs