]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
parisc: Fix warning at drivers/pci/msi/msi.h:121
authorJohn David Anglin <dave@mx3210.local>
Mon, 1 Jul 2024 13:42:41 +0000 (09:42 -0400)
committerHelge Deller <deller@gmx.de>
Wed, 3 Jul 2024 16:54:39 +0000 (18:54 +0200)
Fix warning at drivers/pci/msi/msi.h:121.

Recently, I added a PCI to PCIe bridge adaptor and a PCIe NVME card
to my rp3440. Then, I noticed this warning at boot:

 WARNING: CPU: 0 PID: 10 at drivers/pci/msi/msi.h:121 pci_msi_setup_msi_irqs+0x68/0x90
 CPU: 0 PID: 10 Comm: kworker/u32:0 Not tainted 6.9.7-parisc64 #1  Debian 6.9.7-1
 Hardware name: 9000/800/rp3440
 Workqueue: async async_run_entry_fn

We need to select PCI_MSI_ARCH_FALLBACKS when PCI_MSI is selected.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org # v6.0+
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig

index daafeb20f99370310feceaaeb1186e8f9fa8e74c..50735f3a772c69927f6b20d6ee536080f6e75f1f 100644 (file)
@@ -85,6 +85,7 @@ config PARISC
        select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
        select TRACE_IRQFLAGS_SUPPORT
        select HAVE_FUNCTION_DESCRIPTORS if 64BIT
+       select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
 
        help
          The PA-RISC microprocessor is designed by Hewlett-Packard and used