Star64_linux/drivers/net/ethernet/freescale/dpaa2
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
..
dpaa2-eth-dcb.c dpaa2-eth: Keep congestion group taildrop enabled when PFC on 2020-06-01 12:04:32 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: add software counter for Tx frames converted to S/G 2020-06-29 17:42:48 -07:00
dpaa2-eth-debugfs.h dpaa2: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c dpaa2-eth: Fix passing zero to 'PTR_ERR' warning 2020-08-04 16:10:24 -07:00
dpaa2-eth.h dpaa2-eth: add support for TBF offload 2020-07-21 16:24:04 -07:00
dpaa2-ethtool.c dpaa2-eth: add software counter for Tx frames converted to S/G 2020-06-29 17:42:48 -07:00
dpaa2-mac.c net: dpaa2-mac: use resolved link config in mac_link_up() 2020-02-27 12:02:14 -08:00
dpaa2-mac.h net: dpaa2-mac: use resolved link config in mac_link_up() 2020-02-27 12:02:14 -08:00
dpaa2-ptp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 15:15:05 -08:00
dpaa2-ptp.h net: dpaa2: Use the correct style for SPDX License Identifier 2019-10-28 13:40:17 -07:00
dpkg.h
dpmac-cmd.h dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpmac.c dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpmac.h dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpni-cmd.h dpaa2-eth: add API for Tx shaping 2020-07-21 16:24:04 -07:00
dpni.c dpaa2-eth: add API for Tx shaping 2020-07-21 16:24:04 -07:00
dpni.h dpaa2-eth: add API for Tx shaping 2020-07-21 16:24:04 -07:00
dprtc-cmd.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
dprtc.c dpaa2-ptp: add interrupt support 2019-06-15 13:43:06 -07:00
dprtc.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
Kconfig dpaa2-eth: Add PFC support through DCB ops 2020-06-01 12:04:32 -07:00
Makefile dpaa2-eth: Add PFC support through DCB ops 2020-06-01 12:04:32 -07:00