diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-03 15:50:24 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-05-05 20:29:25 +0300 |
| commit | 1ffc4b7c58e9eb505ea45a9ba2c5537c60de6eec (patch) | |
| tree | 4fc08fb5033d99077aea55e8aa42e3da3916e3f4 /scripts/gdb/linux/modules.py | |
| parent | fdd1a8103a6df50bdeacd8bb04c3f6976cb9ae41 (diff) | |
| download | linux-1ffc4b7c58e9eb505ea45a9ba2c5537c60de6eec.tar.xz | |
net: ll_temac: Fix an NULL vs IS_ERR() check in temac_open()
The phy_connect() function doesn't return NULL pointers. It returns
error pointers on error, so I have updated the check.
Fixes: 8425c41d1ef7 ("net: ll_temac: Extend support to non-device-tree platforms")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
