[PATCH] ahci: compile out msi/msix infrastructure

Arnd Bergmann arnd at arndb.de
Sat Dec 5 14:22:49 PST 2015


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



More information about the linux-arm-kernel mailing list