Re: [PATCH]: Error in ACPI error handling results in WARN_ON

From: Prarit Bhargava <prarit_at_sgi.com>
Date: 2005-01-15 01:18:07
Thanks for your input Matthew -- it's always appreciated.

Here's a new patch taking into account Matthew's comments.



===== drivers/acpi/pci_irq.c 1.35 vs edited =====
--- 1.35/drivers/acpi/pci_irq.c	2005-01-04 21:48:17 -05:00
+++ edited/drivers/acpi/pci_irq.c	2005-01-14 08:14:34 -05:00
@@ -487,10 +487,10 @@
 	 * If no PRT entry was found, we'll try to derive an IRQ from the
 	 * device's parent bridge.
 	 */
-	if (!gsi)
+	if (gsi == -1)
  		gsi = acpi_pci_irq_derive(dev, pin,
 					  &edge_level, &active_high_low);
-	if (!gsi)
+	if (gsi == -1)
 		return_VOID;
 
 	/*

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jan 14 09:19:04 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST