Re: [PATCH v5] block: blk-mq: fix uninit-value in blk_rq_prep_clone and refactor
From: Jens Axboe
Date: Tue Nov 19 2024 - 21:06:41 EST
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