diff options
author | Ruan Jinjie <[email protected]> | 2023-08-18 13:12:20 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-20 10:58:28 +0100 |
commit | 23a14488ea5882dea5851b65c9fce2127ee8fcad (patch) | |
tree | a20b55f1f92f459db975e99f289ff1263d3ac923 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a0e026e7b37e997f4fa3fcaa714e5484f3ce9e75 (diff) |
net: bgmac: Fix return value check for fixed_phy_register()
The fixed_phy_register() function returns error pointers and never
returns NULL. Update the checks accordingly.
Fixes: c25b23b8a387 ("bgmac: register fixed PHY for ARM BCM470X / BCM5301X chipsets")
Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions