linux_dsm_epyc7002/drivers/net/ethernet/freescale
YueHaibing 02afa9c66b dpaa2-eth: Fix passing zero to 'PTR_ERR' warning
Fix smatch warning:

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2419
 alloc_channel() warn: passing zero to 'ERR_PTR'

setup_dpcon() should return ERR_PTR(err) instead of zero in error
handling case.

Fixes: d7f5a9d89a ("dpaa2-eth: defer probe on object allocate")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-04 16:10:24 -07:00
..
dpaa
dpaa2 dpaa2-eth: Fix passing zero to 'PTR_ERR' warning 2020-08-04 16:10:24 -07:00
enetc enetc: use napi_schedule to be compatible with PREEMPT_RT 2020-08-03 18:21:30 -07:00
fman fsl/fman: fix eth hash table allocation 2020-08-03 16:20:15 -07:00
fs_enet
fec_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-25 17:49:04 -07:00
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec_ptp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-25 17:49:04 -07:00
fec.h
fsl_pq_mdio.c
gianfar_ethtool.c
gianfar.c
gianfar.h
Kconfig
Makefile
ucc_geth_ethtool.c
ucc_geth.c
ucc_geth.h
xgmac_mdio.c