diff options
author | Vitalii Mordan <mordan@ispras.ru> | 2024-11-08 20:33:34 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-14 06:52:24 +0300 |
commit | 5b366eae71937ae7412365340b431064625f9617 (patch) | |
tree | ef26a5510c5de03444e8cd15bff2ce04a4afb79a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | eb94b7bb10109a14a5431a67e5d8e31cfa06b395 (diff) | |
download | linux-5b366eae71937ae7412365340b431064625f9617.tar.xz |
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 <mordan@ispras.ru>
Link: https://patch.msgid.link/20241108173334.2973603-1-mordan@ispras.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions