linux_dsm_epyc7002/drivers/net/ethernet/freescale/enetc
Dejin Zheng d975cb7ea9 net: enetc: fix an issue about leak system resources
the related system resources were not released when enetc_hw_alloc()
return error in the enetc_pci_mdio_probe(), add iounmap() for error
handling label "err_hw_alloc" to fix it.

Fixes: 6517798dd3 ("enetc: Make MDIO accessors more generic and export to include/linux/fsl")
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-04 10:51:20 -07: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 dynamic allocation of extended Rx BD rings 2020-03-10 15:48:54 -07:00
enetc_hw.h enetc: Add dynamic allocation of extended Rx BD rings 2020-03-10 15:48:54 -07: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 net: enetc: fix an issue about leak system resources 2020-05-04 10:51:20 -07:00
enetc_pf.c enetc: Remove unused variable 'enetc_drv_name' 2020-03-23 13:09:32 -07: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: Don't print from enetc_sched_speed_set when link goes down 2020-01-17 11:48:38 +01:00
enetc_vf.c enetc: Remove unused variable 'enetc_drv_name' 2020-03-23 13:09:32 -07:00
enetc.c enetc: Add dynamic allocation of extended Rx BD rings 2020-03-10 15:48:54 -07:00
enetc.h enetc: Add dynamic allocation of extended Rx BD rings 2020-03-10 15:48:54 -07:00
Kconfig enetc: Add dynamic allocation of extended Rx BD rings 2020-03-10 15:48:54 -07:00
Makefile enetc: Make MDIO accessors more generic and export to include/linux/fsl 2020-01-05 23:22:32 -08:00