[PATCH -next] scsi: ufs: ufs-exynos: Fix return value check in exynos_ufs_init()

Martin K. Petersen martin.petersen at oracle.com
Wed Jun 24 00:30:22 EDT 2020


On Thu, 18 Jun 2020 13:38:37 +0000, Wei Yongjun wrote:

> In case of error, the function devm_ioremap_resource() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-exynos: Fix return value check in exynos_ufs_init()
      https://git.kernel.org/mkp/scsi/c/b2bc2200e89b

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the linux-arm-kernel mailing list