[PATCH v2] scsi: ufs: ufs-mediatek : Fix NULL vs IS_ERR checking in ufs_mtk_init_va09_pwr_ctrl

Martin K. Petersen martin.petersen at oracle.com
Tue Jan 18 20:06:13 PST 2022


On Wed, 22 Dec 2021 07:09:30 +0000, Miaoqian Lin wrote:

> The function regulator_get() return error pointer,
> use IS_ERR() to check if has error.
> 
> 

Applied to 5.17/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-mediatek : Fix NULL vs IS_ERR checking in ufs_mtk_init_va09_pwr_ctrl
      https://git.kernel.org/mkp/scsi/c/3ba880a12df5

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-mediatek mailing list