[PATCH] ahci: compile out msi/msix infrastructure

Arnd Bergmann
2015-12-05T22:22:49Z

On Friday 04 December 2015 11:58:30 Dan Williams wrote:
> +#ifdef CONFIG_PCI_MSI
> +static inline int ahci_irq_vector(struct ahci_host_priv *hpriv, int port)
> +{
> + if (hpriv->flags & AHCI_HFLAG_MULTI_MSIX)
> + return hpriv->msix[i].vector;
> + else
> + return hpriv->irq + i;
> +}
>

My randconfig tests now noticed that 'i' is undeclared here. I suppose it
should be 'port' instead of 'i'?

Arnd