Re: [PATCH] net: ethernet: mvneta: Fix error handling in mvneta_probe

2020-12-22 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 20 Dec 2020 16:29:30 +0800 you wrote: > When mvneta_port_power_up() fails, we should execute > cleanup functions after label err_netdev to avoid memleak. > > Fixes: 41c2b6b4f0f80 ("net: ethernet: mvneta: Add back interf

[PATCH] net: ethernet: mvneta: Fix error handling in mvneta_probe

2020-12-20 Thread Dinghao Liu
When mvneta_port_power_up() fails, we should execute cleanup functions after label err_netdev to avoid memleak. Fixes: 41c2b6b4f0f80 ("net: ethernet: mvneta: Add back interface mode validation") Signed-off-by: Dinghao Liu --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 inser