diff options
author | Tina Zhang <[email protected]> | 2023-04-13 12:06:45 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-04-13 12:05:53 +0200 |
commit | e60d63e32d239c4c20b370106b57079d7f0994cf (patch) | |
tree | 895fa93694e7ce55a3c10558045093726150e200 /lib/mpi/mpi-mod.c | |
parent | ff45ab96465f013bee39ac88b756bb1129a7bc9d (diff) |
iommu/vt-d: Remove BUG_ON in dmar_insert_dev_scope()
The dmar_insert_dev_scope() could fail if any unexpected condition is
encountered. However, in this situation, the kernel should attempt
recovery and proceed with execution. Remove BUG_ON with WARN_ON, so that
kernel can avoid being crashed when an unexpected condition occurs.
Signed-off-by: Tina Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions