Thread (3 messages) 3 messages, 3 authors, 2023-01-04

Re: [PATCH linux-next] backlight: use sysfs_emit() to instead of scnprintf()

From: Daniel Thompson <hidden>
Date: 2022-12-09 12:51:42
Also in: dri-devel, lkml

On Mon, Dec 05, 2022 at 03:56:47PM +0800, ye.xingchen@zte.com.cn wrote:
Subject: [PATCH linux-next] backlight: use sysfs_emit() to instead of
scnprintf()
Isn't this a v2?

(this isn't just a "nice to have"... I ended up delaying review for
several days until I had time to look up where I had seen these changes
before)

From: ye xingchen <redacted>

Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.

Signed-off-by: ye xingchen <redacted>
Reviewed-by: Daniel Thompson <redacted>


Daniel.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help