On Wed, 12 Nov 2014, Marc Zyngier wrote:
> > +#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN
> > +void pci_msi_domain_write_msg(struct irq_data *irq_data, struct msi_msg
> > *msg)
> > +{
> > + struct msi_desc *desc = irq_data->msi_desc;
> > +
> > + /*
> > + * MSI-X message is written per-IRQ.
> > + * MSI message denotes a contiguous group of IRQs, written for 0th IRQ.
> > + */
> > + if (desc->irq == irq_data->irq)
> > + pci_write_msi_msg(desc, msg);
>
> My compiler barks at this. Shouldn't that be either:
> pci_write_msi_msg(desc->irq, msg);
> or
> __pci_write_msi_msg(desc, msg);
The latter.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/