On Mon, 27 May 2024 13:34:45 +0900, Damien Le Moal wrote: > When powering on a null_blk device that is not already on, the return > value ret that is initialized to be count is reused to check the return > value of null_add_dev(), leading to nullb_device_power_store() to return > null_add_dev() return value (0 on success) instead of "count". > So make sure to set ret to be equal to count when there are no errors. > > > [...] Applied, thanks! [1/1] null_blk: Fix return value of nullb_device_power_store() commit: d9ff882b54f99f96787fa3df7cd938966843c418 Best regards, -- Jens Axboe