Re: [PATCH] ata: libahci_platform: reject invalid port numbers

From: shao.mingyin

Date: Mon Nov 09 2026 - 11:30:01 EST


On Mon, Nov 09, 2026 at 04:18:10PM +0100, Niklas Cassel wrote:
> The warning is redundant.
>
> ahci_platform_get_resources() already prints a warning for this.

Right, thanks. It walks the same child nodes earlier and warns for the
same condition, so I'll drop the warning and only skip the node:

/* Already reported by ahci_platform_get_resources() */
if (port >= hpriv->nports)
continue;

I'll resend as 1/2, with the ahci_dwc fix as 2/2.

Best,
Shao Mingyin