Don't use NULL (pointer) when we're testing for a count of 0 (integer).
This commit is contained in:
parent
25fba0a424
commit
2b8ab2a585
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user