From: Jens Axboe <axboe@kernel.dk>
To: Masanari Iida <standby24x7@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block: Fix format string mismatch in cfq-iosched.c
Date: Wed, 30 Apr 2014 15:56:24 -0600 [thread overview]
Message-ID: <53617188.9070108@kernel.dk> (raw)
In-Reply-To: <1398656314-19068-1-git-send-email-standby24x7@gmail.com>
On 04/27/2014 09:38 PM, Masanari Iida wrote:
> Fix format string mismatch in cfq_var_show()
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> block/cfq-iosched.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
> index 5063a0b..22dffeb 100644
> --- a/block/cfq-iosched.c
> +++ b/block/cfq-iosched.c
> @@ -4460,7 +4460,7 @@ out_free:
> static ssize_t
> cfq_var_show(unsigned int var, char *page)
> {
> - return sprintf(page, "%d\n", var);
> + return sprintf(page, "%u\n", var);
> }
>
> static ssize_t
Thanks, applied.
--
Jens Axboe
prev parent reply other threads:[~2014-04-30 21:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 3:38 [PATCH] block: Fix format string mismatch in cfq-iosched.c Masanari Iida
2014-04-30 21:56 ` Jens Axboe [this message]
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=53617188.9070108@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=standby24x7@gmail.com \
/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).