Re: [PATCH v2] scsi: fdomain: Fix error return code in fdomain_probe()

From: Martin K. Petersen
Date: Mon Aug 09 2021 - 23:32:23 EST



Wei,

> When it fail to request_region, it just jump to 'fail_disable', while
> the 'ret' is not updated. So assign the return code before that.

Applied to 5.15/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering