Re: [PATCH v8 04/29] iommu: Use enum iommu_hw_info_type for type in hw_info op

Jason Gunthorpe
2025-07-09T16:47:41Z

On Fri, Jul 04, 2025 at 06:13:20PM -0700, Nicolin Chen wrote:
> Replace u32 to make it clear. No functional changes.
>
> Also simplify the kdoc since the type itself is clear enough.
>
> Reviewed-by: Pranjal Shrivastava <praan@google.com>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
> ---
> include/linux/iommu.h | 6 +++---
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c | 3 ++-
> drivers/iommu/intel/iommu.c | 3 ++-
> drivers/iommu/iommufd/selftest.c | 3 ++-
> 4 files changed, 9 insertions(+), 6 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason