diff options
| author | Kees Bakker <kees@ijzerbout.nl> | 2025-10-30 11:08:31 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-02 22:15:23 +0900 |
| commit | 68ec78beb4a3fb0877cbaaf49758c85410c05977 (patch) | |
| tree | 958f8c2d5412a3abc95cabb2d100a178b8009cc7 /include/net/aligned_data.h | |
| parent | 1e9ad8e56693ddfa14f53ba62696182b3e40bf1c (diff) | |
iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE
[ Upstream commit 60f030f7418d3f1d94f2fb207fe3080e1844630b ]
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 <kees@ijzerbout.nl>
Link: https://lore.kernel.org/r/20241218201048.E544818E57E@bout3.ijzerbout.nl
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Amelia Crate <acrate@waldn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
