summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-03-18 23:59:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-31 18:12:33 +0200
commit527f39d8cdc566d9c0703d88fbebbaeafc4e598f (patch)
tree66d4580a8a65f0eb8b7a467ca25e15b471ca6e40 /kernel/sysctl_binary.c
parentbdb1a295ee5897b938b0decf360236e40bbe3a1c (diff)
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: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions