android_kernel_oneplus_msm8998/drivers/net/ethernet/arc
Christophe JAILLET 527f39d8cd net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
[ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ]

If the optional regulator is deferred, we must release some resources.
They will be re-allocated when the probe function will be called again.

Fixes: 6eacf31139 ("ethernet: arc: Add support for Rockchip SoC layer device tree bindings")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-31 18:12:33 +02:00
..
emac.h
emac_arc.c
emac_main.c
emac_mdio.c
emac_rockchip.c net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred 2018-03-31 18:12:33 +02:00
Kconfig
Makefile