On 7/16/22 7:15 AM, Tom Rix wrote: > clang build fails with > drivers/block/ublk_drv.c:1304:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] > > When the call to ublk_get_device_from_id() fails, ret is used without being > initized. So initialize. Should already be fixed: https://git.kernel.dk/cgit/linux-block/commit/?h=for-5.20/block&id=f2450f8a2c1ec3e88d6674f747b913aa5f21fa59 -- Jens Axboe