Commit 60f030f
iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE
There is a WARN_ON_ONCE to catch an unlikely situation when
domain_remove_dev_pasid can't find the `pasid`. In case it nevertheless
happens we must avoid using a NULL pointer.
Signed-off-by: Kees Bakker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>1 parent 78d4f34 commit 60f030f
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4090 | 4090 | | |
4091 | 4091 | | |
4092 | 4092 | | |
4093 | | - | |
4094 | 4093 | | |
4095 | 4094 | | |
4096 | 4095 | | |
4097 | 4096 | | |
4098 | | - | |
4099 | | - | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
4100 | 4101 | | |
4101 | 4102 | | |
4102 | 4103 | | |
| |||
0 commit comments