aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cortina/gemini.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-03-18 23:59:36 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-20 12:06:23 -0400
commit00777fac28ba3e126b9e63e789a613e8bd2cab25 (patch)
tree397b53fe9c74e5bacde0e5a9030dbb70a80f6356 /drivers/net/ethernet/cortina/gemini.c
parentdevlink: Remove redundant free on error path (diff)
downloadlinux-dev-00777fac28ba3e126b9e63e789a613e8bd2cab25.tar.xz
linux-dev-00777fac28ba3e126b9e63e789a613e8bd2cab25.zip
net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
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: 6eacf31139bf ("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>
Diffstat (limited to 'drivers/net/ethernet/cortina/gemini.c')
0 files changed, 0 insertions, 0 deletions