aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorVitalii Mordan <[email protected]>2024-11-08 17:33:34 +0000
committerJakub Kicinski <[email protected]>2024-11-14 03:52:24 +0000
commit5b366eae71937ae7412365340b431064625f9617 (patch)
treeef26a5510c5de03444e8cd15bff2ce04a4afb79a /rust/helpers/mutex.c
parentnet: Make copy_safe_from_sockptr() match documentation (diff)
downloadkernel-5b366eae71937ae7412365340b431064625f9617.tar.gz
kernel-5b366eae71937ae7412365340b431064625f9617.zip
stmmac: dwmac-intel-plat: fix call balance of tx_clk handling routines
If the clock dwmac->tx_clk was not enabled in intel_eth_plat_probe, it should not be disabled in any path. Conversely, if it was enabled in intel_eth_plat_probe, it must be disabled in all error paths to ensure proper cleanup. Found by Linux Verification Center (linuxtesting.org) with Klever. Fixes: 9efc9b2b04c7 ("net: stmmac: Add dwmac-intel-plat for GBE driver") Signed-off-by: Vitalii Mordan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions