diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-14 21:21:17 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-16 20:37:31 +0100 |
commit | 322e53d1e2529ae9d501f5e0f20604a79b873aef (patch) | |
tree | 81b8761b1588d72fbe3c5a21bfc286343236a9e9 /net | |
parent | ethtool: fix string set id check (diff) | |
download | linux-322e53d1e2529ae9d501f5e0f20604a79b873aef.tar.xz linux-322e53d1e2529ae9d501f5e0f20604a79b873aef.zip |
net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function
'irq_of_parse_and_map()' should be balanced by a corresponding
'irq_dispose_mapping()' call. Otherwise, there is some resources leaks.
Add such a call in the error handling path of the probe function and in the
remove function.
Fixes: 492205050d77 ("net: Add EMAC ethernet driver found on Allwinner A10 SoC's")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201214202117.146293-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions