# Re: \[PATCH\] phy: Sparx5 Eth SerDes: Fix return value check in sparx5\_serdes\_probe()

- From: Vinod Koul \<vkoul@kernel.org\>
- Date: 2021-10-25 08:22:07 
- List: linux-phy
- Page: https://ratatoskr.run/linux-phy/2021/10/1552174
- Thread: https://ratatoskr.run/linux-phy/2021/09/1500897/t.md

```text
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

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
```
