Don't print a warning message if the _CRS value is empty. This is already
covered by other printfs under ACPI_DEBUG and is not a failure case. MFC after: 3 days
This commit is contained in:
parent
c91935f789
commit
ad7b13796e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135308
@ -236,16 +236,14 @@ acpi_pci_link_get_irq_resources(ACPI_RESOURCE *resources,
|
||||
Interrupts = resources->Data.Irq.Interrupts;
|
||||
break;
|
||||
case ACPI_RSTYPE_EXT_IRQ:
|
||||
NumberOfInterrupts =
|
||||
NumberOfInterrupts =
|
||||
resources->Data.ExtendedIrq.NumberOfInterrupts;
|
||||
Interrupts = resources->Data.ExtendedIrq.Interrupts;
|
||||
Interrupts = resources->Data.ExtendedIrq.Interrupts;
|
||||
break;
|
||||
}
|
||||
|
||||
if (NumberOfInterrupts == 0) {
|
||||
printf("acpi link get: empty IRQ resource\n");
|
||||
|
||||
if (NumberOfInterrupts == 0)
|
||||
return_ACPI_STATUS (AE_NULL_ENTRY);
|
||||
}
|
||||
|
||||
count = 0;
|
||||
for (i = 0; i < NumberOfInterrupts; i++) {
|
||||
@ -382,7 +380,7 @@ acpi_pci_link_add_link(ACPI_HANDLE handle, struct acpi_prt_entry *entry)
|
||||
}
|
||||
if (buf.Pointer == NULL) {
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_WARN,
|
||||
"_PRS nuffer is empty - %s\n", acpi_name(handle)));
|
||||
"_PRS buffer is empty - %s\n", acpi_name(handle)));
|
||||
error = AE_NO_MEMORY;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user