[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <173206838768.183842.958207443357457539.b4-ty@kernel.dk>
Date: Tue, 19 Nov 2024 19:06:27 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Suraj Sonawane <surajsonawane0215@...il.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@...radead.org, hare@...e.de, kbusch@...nel.org
Subject: Re: [PATCH v5] block: blk-mq: fix uninit-value in
blk_rq_prep_clone and refactor
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
Powered by blists - more mailing lists