aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-01-03 11:27:22 -0400
committerJason Gunthorpe <[email protected]>2024-01-11 15:53:28 -0400
commit47f2bd2ff382e5fe766b1322e354558a8da4a470 (patch)
treecf2dc2589ba5088a9989ef520df24f2893b640ad /scripts/gdb/linux/utils.py
parentf6f3721244a8224fa97952b34fbb21e4ee40e8a8 (diff)
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/[email protected] Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions