Re: [PATCH] ata: sata_dwc_460ex: Fix DMA channel leak in sata_dwc_port_start()
From: Niklas Cassel
Date: Tue Nov 17 2026 - 07:38:19 EST
On Tue, 17 Nov 2026 17:49:03 +0800, Haoxiang Li wrote:
> If phy_power_on() fails in sata_dwc_port_start(), the error path
> frees hsdevp without releasing the DMA channel acquired earlier.
> Add a cleanup label to release the DMA channel before freeing
> hsdevp on this failure path.
>
>
Applied to libata/linux.git (for-7.5), thanks!
[1/1] ata: sata_dwc_460ex: Fix DMA channel leak in sata_dwc_port_start()
https://git.kernel.org/libata/linux/c/9397e8e9
Kind regards,
Niklas