IOMMU: avoid NULL deref in iommu_lookup_page()
authorJan Beulich <jbeulich@suse.com>
Tue, 14 May 2019 14:22:17 +0000 (16:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 May 2019 14:22:17 +0000 (16:22 +0200)
commit14e122fcc45d8a86e27be9663cbd7bcea1602b25
tree93e1cf6b763b80260447af71047110d1ca8d0160
parent05fe88fef20bafb2b62190b08f28211a1c4a1b12
IOMMU: avoid NULL deref in iommu_lookup_page()

Luckily the function currently has no callers - it would have called
through NULL for both Arm and x86/AMD.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/drivers/passthrough/iommu.c