aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorShameer Kolothum <[email protected]>2021-03-03 17:36:11 +0000
committerJoerg Roedel <[email protected]>2021-03-18 10:48:10 +0100
commitb9abb19fa5fd2d8a4be61c6cd4b2a48aa1a17f9c (patch)
tree5b952707b8b623121a2ffe86d65b2d89b80d0240 /tools/perf/scripts/python/bin/stackcollapse-record
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff)
iommu: Check dev->iommu in iommu_dev_xxx functions
The device iommu probe/attach might have failed leaving dev->iommu to NULL and device drivers may still invoke these functions resulting in a crash in iommu vendor driver code. Hence make sure we check that. Fixes: a3a195929d40 ("iommu: Add APIs for multiple domains per device") Signed-off-by: Shameer Kolothum <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions