summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-12-06 00:02:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2024-12-06 00:02:20 +0100
commit6a103867b95ac7f9cc7dffe2fcad2f6c0d60b9ae (patch)
treecace81663c0209b5a9286cd2d457456738b0bd21 /drivers/iommu
parentMerge tag 'v6.13-rc1-ksmbd-server-fixes' of git://git.samba.org/ksmbd (diff)
parentiommu/arm-smmu-v3: Improve uAPI comment for IOMMU_HW_INFO_TYPE_ARM_SMMUV3 (diff)
downloadlinux-6a103867b95ac7f9cc7dffe2fcad2f6c0d60b9ae.tar.xz
linux-6a103867b95ac7f9cc7dffe2fcad2f6c0d60b9ae.zip
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd
Pull iommufd fixes from Jason Gunthorpe: "One bug fix and some documentation updates: - Correct typos in comments - Elaborate a comment about how the uAPI works for IOMMU_HW_INFO_TYPE_ARM_SMMUV3 - Fix a double free on error path and add test coverage for the bug" * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd: iommu/arm-smmu-v3: Improve uAPI comment for IOMMU_HW_INFO_TYPE_ARM_SMMUV3 iommufd/selftest: Cover IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nth iommufd: Fix out_fput in iommufd_fault_alloc() iommufd: Fix typos in kernel-doc comments
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommufd/fault.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/iommufd/fault.c b/drivers/iommu/iommufd/fault.c
index 053b0e30f55a..1fe804e28a86 100644
--- a/drivers/iommu/iommufd/fault.c
+++ b/drivers/iommu/iommufd/fault.c
@@ -420,8 +420,6 @@ out_put_fdno:
put_unused_fd(fdno);
out_fput:
fput(filep);
- refcount_dec(&fault->obj.users);
- iommufd_ctx_put(fault->ictx);
out_abort:
iommufd_object_abort_and_destroy(ucmd->ictx, &fault->obj);