summaryrefslogtreecommitdiff
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-07-16 11:50:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-31 16:43:13 +0200
commit09ee689060220a68f85efe1841d0bf19f19dc5aa (patch)
tree22d5c5f1911af6011c39e988d6a839c764531ed7 /scripts/decode_stacktrace.sh
parent82b74fb71580151c64e5c402ca75457210c75f3e (diff)
net: smc91x: Fix possible memory leak in smc_drv_probe()
[ Upstream commit bca9749b1aa23d964d3ab930938af66dbf887f15 ] If try_toggle_control_gpio() failed in smc_drv_probe(), free_netdev(ndev) should be called to free the ndev created earlier. Otherwise, a memleak will occur. Fixes: 7d2911c43815 ("net: smc91x: Fix gpios for device tree based booting") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions