Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1262262 > unrolled thread
| Started by | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| First post | 2015-11-04 13:50 +0100 |
| Last post | 2015-11-04 14:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain Thomas Gleixner <tglx@linutronix.de> - 2015-11-04 13:50 +0100
Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain Arnd Bergmann <arnd@arndb.de> - 2015-11-04 14:40 +0100
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Date | 2015-11-04 13:50 +0100 |
| Subject | Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain |
| Message-ID | <qr5FM-tl-11@gated-at.bofh.it> |
On Wed, 4 Nov 2015, Arnd Bergmann wrote:
> There is a new conflict between Thomas Gleixner's IRQ tree that contains
> a patch from Marc Zyngier to change the prototype for
> pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree that contains
> a new driver for the Altera PCI MSI host, with the old interface,
> as gcc now warns in linux-next:
>
> drivers/pci/host/pcie-altera-msi.c: In function 'altera_allocate_domains':
> drivers/pci/host/pcie-altera-msi.c:191:46: warning: passing argument 1 of 'pci_msi_create_irq_domain' from incompatible pointer type [-Wincompatible-pointer-types]
> msi->msi_domain = pci_msi_create_irq_domain(msi->pdev->dev.of_node,
> include/linux/msi.h:286:20: note: expected 'struct fwnode_handle *' but argument is of type 'struct device_node *'
>
> This changes the new driver use the modified API.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: af1169b48b17 ("PCI: altera: Add Altera PCIe MSI driver")
> Fixes: be5436c83ac8 ("irqdomain/msi: Use fwnode instead of of_node")
> ---
> This conflict seems to be new in linux-next today. Any idea how to resolve it?
>
> I think either Bjorn merges the msi-map-4.4 of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms and uses this
> as the resolution, or whichever pull request comes second should let Linus
> know about the conflict so he can do it when merging both.
The irq/core stuff which contains Marcs msi map stuff has hit Linus
tree already.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2015-11-04 14:40 +0100 |
| Subject | Re: [PATCH] PCI: altera: use fwnode API for pci_msi_create_irq_domain |
| Message-ID | <qr6s9-133-7@gated-at.bofh.it> |
| In reply to | #1262262 |
On Wednesday 04 November 2015 13:45:23 Thomas Gleixner wrote:
> On Wed, 4 Nov 2015, Arnd Bergmann wrote:
> > There is a new conflict between Thomas Gleixner's IRQ tree that contains
> > a patch from Marc Zyngier to change the prototype for
> > pci_msi_create_irq_domain, and Bjorn Helgaas' PCI tree that contains
> > a new driver for the Altera PCI MSI host, with the old interface,
> > as gcc now warns in linux-next:
> >
> > drivers/pci/host/pcie-altera-msi.c: In function 'altera_allocate_domains':
> > drivers/pci/host/pcie-altera-msi.c:191:46: warning: passing argument 1 of 'pci_msi_create_irq_domain' from incompatible pointer type [-Wincompatible-pointer-types]
> > msi->msi_domain = pci_msi_create_irq_domain(msi->pdev->dev.of_node,
> > include/linux/msi.h:286:20: note: expected 'struct fwnode_handle *' but argument is of type 'struct device_node *'
> >
> > This changes the new driver use the modified API.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > Fixes: af1169b48b17 ("PCI: altera: Add Altera PCIe MSI driver")
> > Fixes: be5436c83ac8 ("irqdomain/msi: Use fwnode instead of of_node")
> > ---
> > This conflict seems to be new in linux-next today. Any idea how to resolve it?
> >
> > I think either Bjorn merges the msi-map-4.4 of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms and uses this
> > as the resolution, or whichever pull request comes second should let Linus
> > know about the conflict so he can do it when merging both.
>
> The irq/core stuff which contains Marcs msi map stuff has hit Linus
> tree already.
>
Ah, I see. Maybe that's why it showed up now, when Stephen had a fixup
for it in linux-next and that got dropped after the merge. I guess
Bjorn can pick either approach then, to get the correct merge done.
Thanks,
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web