Skip to contentSkip to conversation

Suppress acpi_pci_irq_derive "Unable to derive IRQ" msg

PATCH Thomas Renninger 1 participant 1 message Mar 7, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This message:
ACPI Warning (pci_irq-0383): Unable to derive IRQ for device 0001:00:04.0 [20060127]

seem to appear on a couple of machines which don't provide IRQ info via ACPI. There should appear a message like:

printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI",

	       pci_name(dev), ('A' + pin));

in this case anyway, therefore just reverting this message to Debug/Info message should be OK...

Subject: Suppress acpi_irq_derive failed message.

Suppress acpi_irq_derive failed message as a warning is printed out in a higher function anyway if no irq could be derived

 drivers/acpi/pci_irq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/acpi/pci_irq.c +2 -2
Index: linux-2.6.15/drivers/acpi/pci_irq.c
===================================================================
@@ -379,8 +379,8 @@ acpi_pci_irq_derive(struct pci_dev *dev,
 	}
 
 	if (irq < 0) {
-		ACPI_WARNING((AE_INFO, "Unable to derive IRQ for device %s",
-			      pci_name(dev)));
+		ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Unable to derive IRQ for device %s",
+				  pci_name(dev)));
 		return_VALUE(-1);
 	}