diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/dmar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index ffe22bc3ac8e..a04bde9bd10f 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c | |||
@@ -130,9 +130,10 @@ static int __init dmar_parse_dev_scope(void *start, void *end, int *cnt, | |||
130 | if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || | 130 | if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || |
131 | scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) | 131 | scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) |
132 | (*cnt)++; | 132 | (*cnt)++; |
133 | else | 133 | else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC) { |
134 | printk(KERN_WARNING PREFIX | 134 | printk(KERN_WARNING PREFIX |
135 | "Unsupported device scope\n"); | 135 | "Unsupported device scope\n"); |
136 | } | ||
136 | start += scope->length; | 137 | start += scope->length; |
137 | } | 138 | } |
138 | if (*cnt == 0) | 139 | if (*cnt == 0) |