diff options
author | Ruan Jinjie <[email protected]> | 2023-08-18 13:12:21 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-20 10:58:28 +0100 |
commit | 32bbe64a1386065ab2aef8ce8cae7c689d0add6e (patch) | |
tree | 8fb6b24826a8930c9bf36e06990917dd3800a172 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 23a14488ea5882dea5851b65c9fce2127ee8fcad (diff) |
net: bcmgenet: 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: b0ba512e25d7 ("net: bcmgenet: enable driver to work without a device tree")
Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Acked-by: Doug Berger <[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