Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177422031
D61310.1794343322.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
562 B
Referenced Files
None
Subscribers
None
D61310.1794343322.diff
View Options
diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c
--- a/sys/dev/acpica/acpi_pci_link.c
+++ b/sys/dev/acpica/acpi_pci_link.c
@@ -980,6 +980,8 @@
device_printf(dev,
"Warning, IRQ %d is not listed as valid\n",
i);
+ if (i < 0)
+ return (PCI_INVALID_IRQ);
return (i);
}
snprintf(tunable_buffer, sizeof(tunable_buffer),
@@ -989,6 +991,8 @@
device_printf(dev,
"Warning, IRQ %d is not listed as valid\n",
i);
+ if (i < 0)
+ return (PCI_INVALID_IRQ);
return (i);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 10, 8:42 PM (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41601806
Default Alt Text
D61310.1794343322.diff (562 B)
Attached To
Mode
D61310: acpi_pci_link: Treat negative IRQs as invalid
Attached
Detach File
Event Timeline