[PATCH ath-next] wifi: ath12k: fix error unwind on arch_init() failure in PCI probe
Rameshkumar Sundaram
rameshkumar.sundaram at oss.qualcomm.com
Tue May 19 19:44:25 PDT 2026
On 5/20/2026 12:58 AM, Ripan Deuri wrote:
> From: Ripan Deuri <ripan.deuri at oss.qualcomm.com>
>
> 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 at oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram at oss.qualcomm.com>
More information about the ath12k
mailing list