[PATCH v1] phy: eswin: Fix incorrect error check in probe()
Vinod Koul
vkoul at kernel.org
Sun May 10 05:23:58 PDT 2026
On Mon, 13 Apr 2026 15:00:33 +0800, Yulin Lu wrote:
> devm_ioremap() returns NULL on failure, not an ERR_PTR.
> Using IS_ERR() to check the return value is incorrect.
>
> Fix this by checking for NULL and returning -ENOMEM.
>
>
Applied, thanks!
[1/1] phy: eswin: Fix incorrect error check in probe()
commit: c2cd08e8f150738515c8df415ad7ecfa3d38124a
Best regards,
--
~Vinod
More information about the linux-phy
mailing list