diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-01-07 22:14:54 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-07 13:46:42 -0800 |
commit | 4addbcb387c9519b320a9411cad68f0c01e9ed4b (patch) | |
tree | 7a169daabee4ba5d3148b6ef661d3d344d57d982 /net/rose | |
parent | 0d6e5bfc9c5bc852d240cb35b0d850cdb660c4c9 (diff) | |
download | linux-4addbcb387c9519b320a9411cad68f0c01e9ed4b.tar.bz2 |
enetc: Fix inconsistent IS_ERR and PTR_ERR
The proper pointer to be passed as argument is hw
Detected using Coccinelle.
Fixes: 6517798dd343 ("enetc: Make MDIO accessors more generic and export to include/linux/fsl")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions