From: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
To: Ripan Deuri <ripan.deuri@oss.qualcomm.com>, ath12k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH ath-next] wifi: ath12k: fix error unwind on arch_init() failure in PCI probe
Date: Wed, 20 May 2026 10:20:34 +0800 [thread overview]
Message-ID: <da065adf-b572-4ffb-a428-0ba967e87587@oss.qualcomm.com> (raw)
In-Reply-To: <20260519192815.3911324-1-ripan.deuri@oss.qualcomm.com>
On 5/20/2026 3:28 AM, Ripan Deuri wrote:
> From: Ripan Deuri <ripan.deuri@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@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
next prev parent reply other threads:[~2026-05-20 2:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 19:28 [PATCH ath-next] wifi: ath12k: fix error unwind on arch_init() failure in PCI probe Ripan Deuri
2026-05-20 2:20 ` Baochen Qiang [this message]
2026-05-20 2:44 ` Rameshkumar Sundaram
2026-05-26 15:58 ` Jeff Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=da065adf-b572-4ffb-a428-0ba967e87587@oss.qualcomm.com \
--to=baochen.qiang@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=ripan.deuri@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox