aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-08-15 14:25:00 +0300
committerWill Deacon <[email protected]>2024-08-16 15:32:34 +0100
commitaf048ec9c05178206e845a88bfd3cb2884a43da7 (patch)
tree349056bb584b3f54044a9b2096a58806f0f024b5 /tools/testing/selftests/bpf/progs/test_autoload.c
parentdf49881956bab88298e754c73010196b49af6733 (diff)
iommu/arm-smmu-v3: Fix a NULL vs IS_ERR() check
The arm_smmu_domain_alloc() function returns error pointers on error. It doesn't return NULL. Update the error checking to match. Fixes: 52acd7d8a413 ("iommu/arm-smmu-v3: Add support for domain_alloc_user fn") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Shameer Kolothum <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions