aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/zstd/zstd_common_module.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-08-15 14:25:00 +0300
committerWill Deacon <will@kernel.org>2024-08-16 15:32:34 +0100
commitaf048ec9c05178206e845a88bfd3cb2884a43da7 (patch)
tree349056bb584b3f54044a9b2096a58806f0f024b5 /lib/zstd/zstd_common_module.c
parentiommu/arm-smmu-v3: Remove the unused empty definition (diff)
downloadwireguard-linux-af048ec9c05178206e845a88bfd3cb2884a43da7.tar.xz
wireguard-linux-af048ec9c05178206e845a88bfd3cb2884a43da7.zip
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 <dan.carpenter@linaro.org> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/9208cd0d-8105-40df-93e9-bdcdf0d55eec@stanley.mountain Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/zstd/zstd_common_module.c')
0 files changed, 0 insertions, 0 deletions