Re: [PATCH] scsi: wd719x: Return proper error code when dma_set_mask() fails

From: Martin K. Petersen
Date: Tue Mar 01 2022 - 23:22:40 EST



Zheyu,

> During the process of driver probing, the probe function should return
> < 0 for failure, otherwise, the kernel will treat value >= 0 as
> success.

Applied to 5.18/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering