Re: [PATCH] HID: hid-logitech: use sysfs_emit_at() instead of scnprintf()

From: Jiri Kosina
Date: Thu Apr 24 2025 - 05:42:22 EST


On Mon, 17 Mar 2025, tang.dongxing@xxxxxxxxxx wrote:

> From: TangDongxing <tang.dongxing@xxxxxxxxxx>
>
> Follow the advice in Documentation/filesystems/sysfs.rst:
> show() should only use sysfs_emit() or sysfs_emit_at() when formatting
> the value to be returned to user space.
>
> Signed-off-by: TangDongxing <tang.dongxing@xxxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs