From: Jan Beulich Date: Fri, 7 Oct 2011 15:57:07 +0000 (+0200) Subject: Adjust 23931:6a9466e1753d. X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73d93934f0ef6469dca063b19052a73cddda3ce1;p=xen.git Adjust 23931:6a9466e1753d. Committed a stale patch - this was missing from what was actually acked. Signed-off-by: Jan Beulich --- diff --git a/xen/drivers/passthrough/vtd/dmar.c b/xen/drivers/passthrough/vtd/dmar.c index 99f584ae94..0b1665bf1a 100644 --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -557,7 +557,7 @@ acpi_parse_one_rmrr(struct acpi_dmar_entry_header *header) if ( !pci_known_segment(rmrr->segment) ) i = UINT_MAX; - for ( i = 0; i < rmrru->scope.devices_cnt; i++ ) + for ( ; i < rmrru->scope.devices_cnt; i++ ) { b = PCI_BUS(rmrru->scope.devices[i]); d = PCI_SLOT(rmrru->scope.devices[i]);