Re: [PATCH] atm: eni: dont release is never initialized

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 27 Feb 2021 16:15:06 -0500 you wrote: > label err_eni_release is reachable when eni_start() fail. > In eni_start() it calls dev->phy->start() in the last step, if start() > fail we don't need to call phy->stop(), if star

[PATCH] atm: eni: dont release is never initialized

2021-02-27 Thread Tong Zhang
label err_eni_release is reachable when eni_start() fail. In eni_start() it calls dev->phy->start() in the last step, if start() fail we don't need to call phy->stop(), if start() is never called, we neither need to call phy->stop(), otherwise null-ptr-deref will happen. In order to fix this issue