On Sat, 16 Jul 2022 17:53:44 +0800, Ming Lei wrote: > After applying -Wmaybe-uninitialized manually, two build warnings are > triggered: > > drivers/block/ublk_drv.c:940:11: warning: ‘io’ may be used uninitialized [-Wmaybe-uninitialized] > 940 | io->flags &= ~UBLK_IO_FLAG_ACTIVE; > > drivers/block/ublk_drv.c: In function ‘ublk_ctrl_uring_cmd’: > drivers/block/ublk_drv.c:1531:9: warning: ‘ret’ may be used uninitialized [-Wmaybe-uninitialized] > > [...] Applied, thanks! [1/1] ublk_drv: fix build warning with -Wmaybe-uninitialized and one sparse warning commit: f2450f8a2c1ec3e88d6674f747b913aa5f21fa59 Best regards, -- Jens Axboe