aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKees Bakker <[email protected]>2025-01-07 02:17:42 +0000
committerJoerg Roedel <[email protected]>2025-01-07 08:30:50 +0000
commit60f030f7418d3f1d94f2fb207fe3080e1844630b (patch)
treef470900f5d2aa225eb342fabb7c528300dda1f95 /net/switchdev/switchdev.c
parentLinux 6.13-rc3 (diff)
downloadkernel-60f030f7418d3f1d94f2fb207fe3080e1844630b.tar.gz
kernel-60f030f7418d3f1d94f2fb207fe3080e1844630b.zip
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]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions