[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y42NRVo9BH+EWpiF@google.com>
Date: Mon, 5 Dec 2022 14:18:45 +0800
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: ye.xingchen@....com.cn
Cc: bleung@...omium.org, groeck@...omium.org,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/chrome: use sysfs_emit() to instead of
scnprintf()
On Fri, Dec 02, 2022 at 04:56:04PM +0800, ye.xingchen@....com.cn wrote:
> From: ye xingchen <ye.xingchen@....com.cn>
>
> 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 <ye.xingchen@....com.cn>
Fixed the commit message a bit and queued the patch.
Also, I found a little more here: https://patchwork.kernel.org/project/chrome-platform/patch/20221205061042.1774769-1-tzungbi@kernel.org/
Powered by blists - more mailing lists