[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <r0s79204-s4o2-4439-29qs-60685211qo3s@xreary.bet>
Date: Thu, 24 Apr 2025 11:34:11 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: tang.dongxing@....com.cn
cc: bentiss@...nel.org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, yang.guang5@....com.cn,
ye.xingchen@....com.cn, yang.yang29@....com.cn, xu.xin16@....com.cn
Subject: Re: [PATCH] HID: hid-logitech: use sysfs_emit_at() instead of
scnprintf()
On Mon, 17 Mar 2025, tang.dongxing@....com.cn wrote:
> From: TangDongxing <tang.dongxing@....com.cn>
>
> 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@....com.cn>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists