summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-lantiq.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-30 15:29:49 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-02 10:42:45 -0500
commit50ac64cfc39dad2ba0d8ad553d2d87dfc738cbba (patch)
tree8de0fca290b069bc9c2dbb07b7ee34a946f131e5 /drivers/pinctrl/pinctrl-lantiq.h
parent6919756caaeaa76dc56287252fb656e3c2d9b4e1 (diff)
downloadlinux-50ac64cfc39dad2ba0d8ad553d2d87dfc738cbba.tar.bz2
net: ethernet: stmmac: dwmac-socfpga: fix use-after-free on probe errors
Make sure to call stmmac_dvr_remove() before returning on late probe errors so that memory is freed, clocks are disabled, and the netdev is deregistered before its resources go away. Fixes: 3c201b5a84ed ("net: stmmac: socfpga: Remove re-registration of reset controller") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/pinctrl-lantiq.h')
0 files changed, 0 insertions, 0 deletions