patch-2.4.23 linux-2.4.23/drivers/acpi/pci_irq.c
Next file: linux-2.4.23/drivers/acpi/pci_link.c
Previous file: linux-2.4.23/drivers/acpi/parser/psparse.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/drivers/acpi/pci_irq.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.22/drivers/acpi/pci_irq.c linux-2.4.23/drivers/acpi/pci_irq.c
@@ -73,6 +73,9 @@
ACPI_FUNCTION_TRACE("acpi_pci_irq_find_prt_entry");
+ if (!acpi_prt.count)
+ return_PTR(NULL);
+
/*
* Parse through all PRT entries looking for a match on the specified
* PCI device's segment, bus, device, and pin (don't care about func).
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)