Skip to content
Commit 7713ec06 authored by David Woodhouse's avatar David Woodhouse
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 14d40569
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment