From: Jens Axboe <axboe@kernel.dk>
To: Suraj Sonawane <surajsonawane0215@gmail.com>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
hch@infradead.org, hare@suse.de, kbusch@kernel.org
Subject: Re: [PATCH v5] block: blk-mq: fix uninit-value in blk_rq_prep_clone and refactor
Date: Tue, 19 Nov 2024 19:06:27 -0700 [thread overview]
Message-ID: <173206838768.183842.958207443357457539.b4-ty@kernel.dk> (raw)
In-Reply-To: <20241119164412.37609-1-surajsonawane0215@gmail.com>
On Tue, 19 Nov 2024 22:14:12 +0530, Suraj Sonawane wrote:
> Fix an issue detected by the `smatch` tool:
>
> block/blk-mq.c:3314 blk_rq_prep_clone() error: uninitialized
> symbol 'bio'.
>
> This patch refactors `blk_rq_prep_clone()` to improve code
> readability and ensure safety by addressing potential misuse of
> the `bio` variable:
>
> [...]
Applied, thanks!
[1/1] block: blk-mq: fix uninit-value in blk_rq_prep_clone and refactor
commit: dcbb598e689e30d4636201d35582e167d1b8dfa4
Best regards,
--
Jens Axboe
next prev parent reply other threads:[~2024-11-20 2:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 16:44 Suraj Sonawane
2024-11-19 16:50 ` Christoph Hellwig
2024-11-19 16:54 ` Suraj Sonawane
2024-11-20 2:06 ` Jens Axboe [this message]
2024-11-20 9:18 ` Suraj Sonawane
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=173206838768.183842.958207443357457539.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=hare@suse.de \
--cc=hch@infradead.org \
--cc=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=surajsonawane0215@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
all inboxes | Powered by JetHome®