diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-06 13:30:01 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-06 13:30:01 -0700 |
commit | 4958c5dc7bcb2e42d985cd26aeafd8a7eca9ab1e (patch) | |
tree | 7bad2dac396fef6cca7f72132078a30e912b2589 /drivers/pci/intr_remapping.c | |
parent | 276dbf997043cbf38f0087624e0f9c51742c8885 (diff) |
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>
Diffstat (limited to 'drivers/pci/intr_remapping.c')
0 files changed, 0 insertions, 0 deletions