Skip to content
Commit 4958c5dc authored by David Woodhouse's avatar David Woodhouse
Browse files

intel-iommu: Fix oops in device_to_iommu() when devices not found.



It's possible for a device in the drhd->devices[] array to be NULL if
it wasn't found at boot time, which means we have to check for that
case.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 276dbf99
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