[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq14k4h0yrv.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 01 Mar 2022 23:22:21 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Zheyu Ma <zheyuma97@...il.com>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: wd719x: Return proper error code when
dma_set_mask() fails
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
Powered by blists - more mailing lists