diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-11 14:01:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-13 14:32:08 +0000 |
commit | ab8eb798ddabddb2944401bf31ead9671cb97d95 (patch) | |
tree | 433df149b7f0df623ea6bd9b6a54a7b4f8e2f623 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | c062f2a0b04d86c5b8c9d973bea43493eaca3d32 (diff) |
net: bcmgenet: Fix NULL vs IS_ERR() checking
The phy_attach() function does not return NULL. It returns error pointers.
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions