commit | 7713ec066ae8adc49dd8daa02a73e6b60af6ee5f | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Tue Apr 01 14:58:36 2014 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Tue Apr 01 14:58:38 2014 +0100 |
tree | eb824019a51e154555eac234062393d17d66aa59 | |
parent | 14d405699634d4ce0adfc7b4f52ac7427220a98d [diff] |
iommu/vt-d: Fix error handling in ANDD processing If we failed to find an ACPI device to correspond to an ANDD record, we would fail to increment our pointer and would just process the same record over and over again, with predictable results. Turn it from a while() loop into a for() loop to let the 'continue' in the error paths work correctly. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>