diff options
| author | Ripan Deuri <ripan.deuri@oss.qualcomm.com> | 2026-05-19 22:28:15 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2026-05-26 18:54:27 +0300 |
| commit | d5c336161088c588f85da64f48ba6deead194afd (patch) | |
| tree | d67f94da3061f2f20536bb85de0de8bc1d63216e /include/linux/zstd_errors.h | |
| parent | 30d516006fa1f72f957c18c6171f5680dcdebfb0 (diff) | |
| download | linux-d5c336161088c588f85da64f48ba6deead194afd.tar.xz | |
wifi: ath12k: fix error unwind on arch_init() failure in PCI probe
When arch_init() fails in ath12k_pci_probe(), the code jumps to
err_pci_msi_free, leaking resources in teardown.
Redirect the failure path to err_free_irq so teardown matches the setup order.
Compile-tested only.
Fixes: 614c23e24ee8 ("wifi: ath12k: Support arch-specific DP device allocation")
Signed-off-by: Ripan Deuri <ripan.deuri@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260519192815.3911324-1-ripan.deuri@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
