Re: [PATCHv3] ata: libahci_platform: use flex array for platform PHYs

From: Niklas Cassel

Date: Tue Mar 31 2026 - 05:04:20 EST


On Mon, 30 Mar 2026 13:37:37 -0700, Rosen Penev wrote:
> Modify struct ahci_host_priv to use a flexible array member for an adapter port
> PHYs and use struct_size to combine the allocation of this array together with
> the adapter private data structure. __counted_by() annotation is added for the
> phys field to support runtime analysis.
>
>

Commit log was wrapped at 80 lines, I re-wrapped the commit log to 75 lines
while applying.


Applied to libata/linux.git (for-7.1), thanks!

[1/1] ata: libahci_platform: use flex array for platform PHYs
https://git.kernel.org/libata/linux/c/d5d28615

Kind regards,
Niklas