From: Damien Le Moal <dlemoal@kernel.org>
To: Thorsten Blum <thorsten.blum@linux.dev>,
Jens Axboe <axboe@kernel.dk>, Kees Cook <kees@kernel.org>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] block: use sysfs_emit in sysfs show functions
Date: Fri, 3 Apr 2026 10:41:25 +0900 [thread overview]
Message-ID: <0650ad37-2c6b-4134-9eaf-c0fb5cff2f26@kernel.org> (raw)
In-Reply-To: <20260402164958.894879-4-thorsten.blum@linux.dev>
On 4/3/26 01:50, Thorsten Blum wrote:
> Replace sprintf() with sysfs_emit() in sysfs show functions.
> sysfs_emit() is preferred for formatting sysfs output because it
> provides safer bounds checking.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
--
Damien Le Moal
Western Digital Research
next prev parent reply other threads:[~2026-04-03 1:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 16:50 [PATCH RESEND] block: use sysfs_emit in sysfs show functions Thorsten Blum
2026-04-03 1:41 ` Damien Le Moal [this message]
2026-04-03 11:11 ` 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=0650ad37-2c6b-4134-9eaf-c0fb5cff2f26@kernel.org \
--to=dlemoal@kernel.org \
--cc=axboe@kernel.dk \
--cc=kees@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thorsten.blum@linux.dev \
/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