Re: [PATCH v2] block: rsxx: fix error return code of rsxx_pci_probe()

From: Jens Axboe
Date: Wed Mar 10 2021 - 10:27:19 EST


On 3/9/21 8:30 PM, Jia-Ju Bai wrote:
> When create_singlethread_workqueue returns NULL to card->event_wq, no
> error return code of rsxx_pci_probe() is assigned.
>
> To fix this bug, st is assigned with -ENOMEM in this case.

Thanks, this looks much better. Applied.

--
Jens Axboe