[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167815780209.2075334.14673618232448098943.b4-ty@oracle.com>
Date: Mon, 6 Mar 2023 21:57:25 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: quic_cang@...cinc.com, linux-scsi@...r.kernel.org,
Asutosh Das <quic_asutoshd@...cinc.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
quic_nguyenb@...cinc.com, quic_xiaosenh@...cinc.com,
stanley.chu@...iatek.com, adrian.hunter@...el.com,
bvanassche@....org, avri.altman@....com, mani@...nel.org,
beanhuo@...ron.com, linux-arm-msm@...r.kernel.org,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/1] ufs: mcq: qcom: Fix passing zero to PTR_ERR
On Wed, 01 Mar 2023 17:41:06 -0800, Asutosh Das wrote:
> Fix an error case in ufs_qcom_mcq_config_resource(), where the
> return value is set to 0 before passing it to PTR_ERR.
>
> This led to Smatch warning:
> drivers/ufs/host/ufs-qcom.c:1455 ufs_qcom_mcq_config_resource() warn:
> passing zero to 'PTR_ERR'
>
> [...]
Applied to 6.3/scsi-fixes, thanks!
[1/1] ufs: mcq: qcom: Fix passing zero to PTR_ERR
https://git.kernel.org/mkp/scsi/c/c8be073bd2bc
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists