Skip to content

iommufd: Fix a small bug in fault.c

Nicolin Chen linux-iommu linux-kselftest lkml 1 version Applied

Status from this message: Applied to for-rc, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommufd/fault: Fix out_fput in iommufd_fault_alloc()drivers/iommu/iommufd/fault.c+0 -21 reply
2/2iommufd/selftest: Cover IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nthtools/testing/selftests/iommu/iommufd_fail_nth.c+14 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYi Liu
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] iommufd: Fix a small bug in fault.c

There are a few patches in vIRQ series that rework the fault.c file. So, we should fix this before that bigger series touches the same code.

And add missing coverage for IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nth.

Thanks!
Nicolin

Nicolin Chen (2):
iommufd/fault: Fix out_fput in iommufd_fault_alloc() iommufd/selftest: Cover IOMMU_FAULT_QUEUE_ALLOC in iommufd_fail_nth

 drivers/iommu/iommufd/fault.c                    |  2 --
 tools/testing/selftests/iommu/iommufd_fail_nth.c | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0