Linux/linux e928b5ddrivers/net/ethernet/marvell mv643xx_eth.c

net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()

If mv643xx_eth_shared_of_probe() fails, mv643xx_eth_shared_probe()
leaves clk enabled.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+6-1drivers/net/ethernet/marvell/mv643xx_eth.c
+6-11 files

UnifiedSplitRaw