OpenCloudOS-Kernel/drivers/net/ethernet/freescale
Liu Jian 6790711f8a dpaa_eth: Fix one possible memleak in dpaa_eth_probe
When dma_coerce_mask_and_coherent() fails, the alloced netdev need to be freed.

Fixes: 060ad66f97 ("dpaa_eth: change DMA device")
Signed-off-by: Liu Jian <liujian56@huawei.com>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-20 17:54:08 -07:00
..
dpaa dpaa_eth: Fix one possible memleak in dpaa_eth_probe 2020-07-20 17:54:08 -07:00
dpaa2 dpaa2-eth: check fsl_mc_get_endpoint for IS_ERR_OR_NULL() 2020-07-15 17:31:52 -07:00
enetc enetc: Fix tx rings bitmap iteration range, irq handling 2020-06-26 15:02:30 -07:00
fman Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
fs_enet mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile net: dsa: felix: fix link error 2020-01-08 16:05:54 -08:00
fec.h net: fec: fix hardware time stamping by external devices 2020-07-16 11:20:38 -07:00
fec_main.c net: fec: fix hardware time stamping by external devices 2020-07-16 11:20:38 -07:00
fec_mpc52xx.c net: convert suitable network drivers to use phy_do_ioctl 2020-01-21 10:50:41 +01:00
fec_mpc52xx.h
fec_mpc52xx_phy.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
fec_ptp.c net: fec: fix hardware time stamping by external devices 2020-07-16 11:20:38 -07:00
fsl_pq_mdio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gianfar.c gianfar: Use random MAC address when none is given 2020-07-14 14:16:37 -07:00
gianfar.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
gianfar_ethtool.c net: gianfar: reject unsupported coalescing params 2020-03-12 11:32:35 -07:00
ucc_geth.c net: ethernet: freescale: remove unneeded include for ucc_geth 2020-06-04 15:55:58 -07:00
ucc_geth.h net/freescale: Clean drivers from static versions 2020-03-03 17:54:55 -08:00
ucc_geth_ethtool.c net/freescale: Don't set zero if FW not-available in ucc_geth 2020-03-03 17:54:55 -08:00
xgmac_mdio.c net/fsl: treat fsl,erratum-a011043 2020-01-23 21:17:13 +01:00