Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5715f0f9 authored by Yinghai Lu's avatar Yinghai Lu Committed by David Woodhouse
Browse files

intel-iommu: Don't complain that ACPI_DMAR_SCOPE_TYPE_IOAPIC is not supported

parent 78d5f0f5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -130,9 +130,10 @@ static int __init dmar_parse_dev_scope(void *start, void *end, int *cnt,
		if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT ||
		    scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE)
			(*cnt)++;
		else
		else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC) {
			printk(KERN_WARNING PREFIX
			       "Unsupported device scope\n");
		}
		start += scope->length;
	}
	if (*cnt == 0)