diff options
author | Yang Yingliang <[email protected]> | 2021-09-09 15:21:49 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-10-26 16:36:23 +0530 |
commit | b4dc97ab0a629eda8bda20d96ef47dac08a505d9 (patch) | |
tree | 8ead89c12513b22e7672c72322d66a04cca07f5a /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | b475bf0ec40a2b13fb32ef62f5706576d5858460 (diff) |
phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()
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.
Fixes: 2ff8a1eeb5aa ("phy: Add Sparx5 ethernet serdes PHY driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions