OpenCloudOS-Kernel/drivers/net/ethernet/freescale/enetc
YueHaibing 4addbcb387 enetc: Fix inconsistent IS_ERR and PTR_ERR
The proper pointer to be passed as argument is hw
Detected using Coccinelle.

Fixes: 6517798dd3 ("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>
2020-01-07 13:46:42 -08:00
..
Kconfig enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00
Makefile enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00
enetc.c enetc: add support time specific departure base on the qos etf 2020-01-02 16:32:45 -08:00
enetc.h enetc: add support time specific departure base on the qos etf 2020-01-02 16:32:45 -08:00
enetc_cbdr.c enetc: Configure the Time-Aware Scheduler via tc-taprio offload 2019-11-16 12:49:16 -08:00
enetc_ethtool.c enetc: add software timestamping 2019-12-10 17:32:06 -08:00
enetc_hw.h enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00
enetc_mdio.c enetc: Set MDIO_CFG_HOLD to the recommended value of 2 2020-01-05 23:22:32 -08:00
enetc_msg.c enetc: Add vf to pf messaging support 2019-01-24 21:55:53 -08:00
enetc_pci_mdio.c enetc: Fix inconsistent IS_ERR and PTR_ERR 2020-01-07 13:46:42 -08:00
enetc_pf.c enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00
enetc_pf.h enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00
enetc_ptp.c enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions 2019-08-31 23:53:17 -07:00
enetc_qos.c enetc: Fix an off by one in enetc_setup_tc_txtime() 2020-01-07 13:46:20 -08:00
enetc_vf.c enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00