diff options
| author | Dan Carpenter <[email protected]> | 2019-05-03 12:50:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-05 17:29:25 +0000 |
| commit | 1ffc4b7c58e9eb505ea45a9ba2c5537c60de6eec (patch) | |
| tree | 4fc08fb5033d99077aea55e8aa42e3da3916e3f4 /net/ipv6/tcp_ipv6.c | |
| parent | net: atm: clean up a range check (diff) | |
| download | kernel-1ffc4b7c58e9eb505ea45a9ba2c5537c60de6eec.tar.gz kernel-1ffc4b7c58e9eb505ea45a9ba2c5537c60de6eec.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
