diff options
author | Tina Zhang <[email protected]> | 2023-04-13 12:06:40 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-04-13 12:05:51 +0200 |
commit | 35dc5d8998efa0f87a25bb184a9c54c46100fec3 (patch) | |
tree | c71ba3996f8f65fcb656a9bbcd10e06ae3dc435d /lib/test_fortify/write_overflow-strncpy.c | |
parent | b31064f881eec6047874ef58df4376b20432859c (diff) |
iommu/vt-d: Remove BUG_ON on checking valid pfn range
When encountering an unexpected invalid pfn range, the kernel should
attempt recovery and proceed with execution. Therefore, using WARN_ON to
replace BUG_ON to avoid halting the machine.
Besides, one redundant checking is reduced.
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/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions