Skip to content

Commit

Permalink
intel-iommu: Don't complain that ACPI_DMAR_SCOPE_TYPE_IOAPIC is not s…
Browse files Browse the repository at this point in the history
…upported

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Yinghai Lu authored and David Woodhouse committed Apr 9, 2010
1 parent 78d5f0f commit 5715f0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/pci/dmar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
"Unsupported device scope\n");
}
start += scope->length;
}
if (*cnt == 0)
Expand Down

0 comments on commit 5715f0f

Please sign in to comment.