diff options
| author | 2026-09-24 08:56:14 +0000 | |
|---|---|---|
| committer | 2026-10-02 15:48:09 +0000 | |
| commit | 388986bfc540e98f3f7ca1b6bc8703fc43e279d1 (patch) | |
| tree | 90573685884a442ef4d37a05ffed6dd5d97da220 /scripts/Makefile.thinlto | |
| parent | iommu/arm-smmu-v3-test: Fix arm_smmu_v3_test_debug_print_used_bits() (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
