summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2026-09-24 08:56:14 +0000
committerWill Deacon <will@kernel.org>2026-10-02 15:48:09 +0000
commit388986bfc540e98f3f7ca1b6bc8703fc43e279d1 (patch)
tree90573685884a442ef4d37a05ffed6dd5d97da220 /tools/perf/scripts/python/bin/stackcollapse-report
parentce58940ccc3d1a377d238d93666c140405f8ce05 (diff)
iommu/arm-smmu-v3-test: Add missing error checks for inv array
arm_smmu_invs_merge() and arm_smmu_invs_alloc() can return NULL or errors which are checked by the driver but not the test. Add KUNIT_ASSERT_NOT_ERR_OR_NULL() after calling them to fail the test instead of accessing NULL or ERR pointers. Fixes: 15a2a5645ad7 ("iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array") Reported-by: Sashiko <> Signed-off-by: Mostafa Saleh <smostafa@google.com> Reviewed-by: Pranjal Shrivastava <praan@google.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions