Re: [PATCH -next] usb: chipidea: msm: Fix return value check in ci_hdrc_msm_probe()

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

 



Quoting Wei Yongjun (2017-01-25 06:02:48)
> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> 
> 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().
> 
> Fixes: 2fc305be364e ("usb: chipidea: msm: Mux over secondary phy at the
> right time")
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

Thanks.

Reviewed-by: Stephen Boyd <stephen.boyd@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux