mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
276dbf9970
commit
4958c5dc7b
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue