summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/e1000e/ich8lan.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-08-21 09:35:23 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-23 11:23:48 +0100
commit5ed74b03eb4d08f5dd281dcb5f1c9bb92b363a8d (patch)
treebf0370d29c7270749031225f7e1a9661a86c2007 /drivers/net/ethernet/intel/e1000e/ich8lan.c
parent9cf448c200ba9935baa94e7a0964598ce947db9d (diff)
xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
A successful 'xge_mdio_config()' call should be balanced by a corresponding 'xge_mdio_remove()' call in the error handling path of the probe, as already done in the remove function. Update the error handling path accordingly. Fixes: ea8ab16ab225 ("drivers: net: xgene-v2: Add MDIO support") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/ich8lan.c')
0 files changed, 0 insertions, 0 deletions