[PATCH] phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()

Vinod Koul vkoul at kernel.org
Mon Oct 25 01:22:01 PDT 2021


On 09-09-21, 15:21, Yang Yingliang wrote:
> In case of error, the function devm_ioremap() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value
> check should be replaced with NULL test.

Applied, thanks

-- 
~Vinod



More information about the linux-phy mailing list