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

From: Jason Gunthorpe
Date: Wed Jul 09 2025 - 12:47:52 EST


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@xxxxxxxxxx>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

Jason