aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2023-10-04 12:08:32 +0000
committerJoerg Roedel <[email protected]>2023-10-05 11:03:40 +0000
commitb85b4f30846bb169c114e99ceee17cc119f02a4b (patch)
tree4ee44bae190663bc9b38eb569c4cd9f11fc88f6c /tools/testing/selftests/bpf/prog_tests/autoload.c
parentiommu: Do not use IOMMU_DOMAIN_DMA if CONFIG_IOMMU_DMA is not enabled (diff)
downloadkernel-b85b4f30846bb169c114e99ceee17cc119f02a4b.tar.gz
kernel-b85b4f30846bb169c114e99ceee17cc119f02a4b.zip
iommu: Fix return code in iommu_group_alloc_default_domain()
This function returns NULL on errors, not ERR_PTR. Fixes: 1c68cbc64fe6 ("iommu: Add IOMMU_DOMAIN_PLATFORM") Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions