Re: [PATCH v5] block: blk-mq: fix uninit-value in blk_rq_prep_clone and refactor

From: Suraj Sonawane
Date: Wed Nov 20 2024 - 04:20:32 EST


On 20/11/24 07:36, Jens Axboe wrote:

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,

Thank you for applying the patch and for your time reviewing it.