Don't use NULL (pointer) when we're testing for a count of 0 (integer).

This commit is contained in:
peter 2003-12-23 02:29:46 +00:00
parent 25fba0a424
commit 2b8ab2a585

View File

@ -288,7 +288,7 @@ acpi_pci_link_get_irq_resources(ACPI_RESOURCE *resources,
break;
}
if (Interrupts[i] == NULL) {
if (Interrupts[i] == 0) {
ACPI_DEBUG_PRINT((ACPI_DB_WARN, "Invalid IRQ %d\n",
Interrupts[i]));
continue;