Adjust 23931:6a9466e1753d.
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Oct 2011 15:57:07 +0000 (17:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Oct 2011 15:57:07 +0000 (17:57 +0200)
Committed a stale patch - this was missing from what was actually acked.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/vtd/dmar.c

index 99f584ae947de530dae122987e30b63a8ad82fba..0b1665bf1ab5acbe9b0fb9de1bfe4c58dcf9d8b3 100644 (file)
@@ -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]);