summaryrefslogtreecommitdiff
path: root/drivers/iommu/intel/dmar.c
diff options
context:
space:
mode:
authorTina Zhang <tina.zhang@intel.com>2023-04-13 12:06:43 +0800
committerJoerg Roedel <jroedel@suse.de>2023-04-13 12:05:52 +0200
commitcbf2f9e8badd483e2ee17a56ad8dbd1cfdcead20 (patch)
treeeeea877ebd4bbaf4dea6fc32bbe0ff1fac52be32 /drivers/iommu/intel/dmar.c
parent998d4c2db30c7279ce6070faf06b914c98f2ae30 (diff)
iommu/vt-d: Remove BUG_ON in map/unmap()
Domain map/unmap with invalid parameters shouldn't crash the kernel. Therefore, using if() replaces the BUG_ON. Signed-off-by: Tina Zhang <tina.zhang@intel.com> Link: https://lore.kernel.org/r/20230406065944.2773296-6-tina.zhang@intel.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel/dmar.c')
0 files changed, 0 insertions, 0 deletions