aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2024-01-03 11:27:22 -0400
committerJason Gunthorpe <jgg@nvidia.com>2024-01-11 15:53:28 -0400
commit47f2bd2ff382e5fe766b1322e354558a8da4a470 (patch)
treecf2dc2589ba5088a9989ef520df24f2893b640ad /scripts/gdb/linux/tasks.py
parentf6f3721244a8224fa97952b34fbb21e4ee40e8a8 (diff)
downloadlinux-47f2bd2ff382e5fe766b1322e354558a8da4a470.tar.gz
linux-47f2bd2ff382e5fe766b1322e354558a8da4a470.tar.bz2
linux-47f2bd2ff382e5fe766b1322e354558a8da4a470.zip
iommufd/selftest: Check the bus type during probe
This relied on the probe function only being invoked by the bus type mock was registered on. The removal of the bus ops broke this assumption and the probe could be called on non-mock bus types like PCI. Check the bus type directly in probe. Fixes: 17de3f5fdd35 ("iommu: Retire bus ops") Link: https://lore.kernel.org/r/0-v1-82d59f7eab8c+40c-iommufd_mock_bus_jgg@nvidia.com Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions