From: Krzysztof Kozlowski <krzk@kernel.org>
To: zhangheng <zhangheng@kylinos.cn>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] w1: core: use sysfs_emit() instead of sprintf()
Date: Sun, 22 Dec 2024 13:23:29 +0100 [thread overview]
Message-ID: <4ceb1810-aeb9-4078-ab4c-49d74b9b2746@kernel.org> (raw)
In-Reply-To: <20241220102337.295864-1-zhangheng@kylinos.cn>
On 20/12/2024 11:23, zhangheng wrote:
> 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: zhangheng <zhangheng@kylinos.cn>
> ---
> change for v2
> - None
`git format-patch -v2` or use b4 in the future.
No need to resend, I'll apply it.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-12-22 14:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 10:23 [PATCH] w1: core: use sysfs_emit() instead of sprintf() zhangheng
2024-12-22 12:23 ` Krzysztof Kozlowski [this message]
2024-12-22 14:47 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 10:23 zhangheng
2024-11-23 15:55 ` Krzysztof Kozlowski
2024-11-23 8:04 zhangheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ceb1810-aeb9-4078-ab4c-49d74b9b2746@kernel.org \
--to=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zhangheng@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox