summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-09-16 17:19:16 +0000
committernjl <njl@FreeBSD.org>2004-09-16 17:19:16 +0000
commit287d9abd9387ea3296a565d5ae72e8b257fdeb68 (patch)
treeaa8a205ce04e362006124fb57908eb16fa3e0944 /sys/dev/acpica
parent91853163360a9d69893dc8ab08c9e2bfce35c073 (diff)
downloadFreeBSD-src-287d9abd9387ea3296a565d5ae72e8b257fdeb68.zip
FreeBSD-src-287d9abd9387ea3296a565d5ae72e8b257fdeb68.tar.gz
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
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pci_link.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c
index 7dd408b..731a987 100644
--- a/sys/dev/acpica/acpi_pci_link.c
+++ b/sys/dev/acpica/acpi_pci_link.c
@@ -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;
}
OpenPOWER on IntegriCloud