Re: [PATCH] phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug

From: Krzysztof Kozlowski
Date: Mon Apr 14 2025 - 03:30:33 EST


On 13/04/2025 23:25, Chenyuan Yang wrote:
> In qmp_usb_iomap(), one branch returns the result of devm_ioremap(), which
> can be NULL. Since IS_ERR() does not catch a NULL pointer,

No, that's not true. NAK.

Best regards,
Krzysztof