Re: [PATCH v2 1/1] ufs: mcq: qcom: Fix passing zero to PTR_ERR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux