u-boot/drivers/net/ldpaa_eth
Pankaj Bansal 4b0880d66b drivers: net: ldpaa_eth: fix resource leak
if an error occurs in ldpaa_eth_init, need to free all resources
before returning the error.

Threfore, free net_dev before returning from ldpaa_eth_init.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-05-08 17:26:59 -05:00
..
ldpaa_eth.c drivers: net: ldpaa_eth: fix resource leak 2019-05-08 17:26:59 -05:00
ldpaa_eth.h driver: net: fsl-mc: remove unused strcture elements 2018-10-10 12:36:34 -05:00
ldpaa_wriop.c driver: net: fsl-mc: Add support of multiple phys for dpmac 2018-10-10 12:45:28 -05:00
ls1088a.c drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset 2019-03-15 11:52:01 +05:30
ls2080a.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lx2160a.c drivers: net: ldpaa_eth: check if the dpmac is enabled 2019-03-15 11:52:00 +05:30
Makefile armv8: lx2160a: Add LX2160A SoC Support 2018-12-06 14:37:19 -08:00