Message ID | 5459FBDD.4020504@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Jiang, On Wed, Nov 05, 2014 at 06:28:45PM +0800, Jiang Liu wrote: > diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c > index 7423ee16972f..62ba8a6f6e79 100644 > --- a/drivers/pci/msi.c > +++ b/drivers/pci/msi.c > @@ -1211,7 +1211,7 @@ int msi_irq_domain_alloc_irqs(struct irq_domain > *domain, int type, > msidesc->nvec_used > 1) ? 1 : -ENOSPC; > } > for (i = 0; i < msidesc->nvec_used; i++) > - irq_set_msi_desc_off(virq + i, i, msidesc); > + irq_set_msi_desc_off(virq, i, msidesc); > } > > list_for_each_entry(msidesc, &dev->msi_list, list) Yes, this fixes the issue, thanks :) Joerg
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 7423ee16972f..62ba8a6f6e79 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -1211,7 +1211,7 @@ int msi_irq_domain_alloc_irqs(struct irq_domain *domain, int type, msidesc->nvec_used > 1) ? 1 : -ENOSPC; } for (i = 0; i < msidesc->nvec_used; i++) - irq_set_msi_desc_off(virq + i, i, msidesc); + irq_set_msi_desc_off(virq, i, msidesc); }