From: Christoph Hellwig <hch@lst.de>
To: zhangguopeng <zhangguopeng@kylinos.cn>
Cc: axboe@kernel.dk, linux-block@vger.kernel.org, hch@lst.de,
ming.lei@redhat.com, yukuai3@huawei.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] block: Replace sprintf() with sysfs_emit()
Date: Thu, 7 Nov 2024 14:45:02 +0100 [thread overview]
Message-ID: <20241107134502.GA14814@lst.de> (raw)
In-Reply-To: <20241107104258.29742-1-zhangguopeng@kylinos.cn>
On Thu, Nov 07, 2024 at 06:42:58PM +0800, zhangguopeng wrote:
> Per Documentation/filesystems/sysfs.rst, show() should only use
> sysfs_emit() or sysfs_emit_at() when formatting the value to be
> returned to user space.
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
next prev parent reply other threads:[~2024-11-07 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 10:42 [PATCH v2] block: Replace sprintf() with sysfs_emit() zhangguopeng
2024-11-07 13:45 ` Christoph Hellwig [this message]
2024-11-07 22:36 ` Jens Axboe
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=20241107134502.GA14814@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=yukuai3@huawei.com \
--cc=zhangguopeng@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;
as well as URLs for NNTP newsgroup(s).