Re: [PATCH 2/2] can: kvaser_pciefd: Add MSI interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.06.2024 12:05:33, Marc Kleine-Budde wrote:
> On 14.06.2024 17:20:08, Martin Jocic wrote:
> > Use MSI interrupts with fallback to legacy interrupts.
> 
> Thanks for your patches, but this fails to build on current net-next.
> 
> | drivers/net/can/kvaser_pciefd.c: In function ‘kvaser_pciefd_probe’:
> | drivers/net/can/kvaser_pciefd.c:1777:54: error: ‘PCI_IRQ_LEGACY’ undeclared (first use in this function); did you mean ‘NR_IRQS_LEGACY’?
> |  1777 |         ret = pci_alloc_irq_vectors(pcie->pci, 1, 1, PCI_IRQ_LEGACY | PCI_IRQ_MSI);
> |       |                                                      ^~~~~~~~~~~~~~
> |       |                                                      NR_IRQS_LEGACY
> | drivers/net/can/kvaser_pciefd.c:1777:54: note: each undeclared identifier is reported only once for each function it appears in

See 0e1fdd222f0a ("PCI: Remove PCI_IRQ_LEGACY"). I'll fix it up here.

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux