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

Nicolin Chen nicolinc at nvidia.com
Wed Jul 9 19:57:34 PDT 2025


On Fri, Jul 04, 2025 at 06:13:20PM -0700, Nicolin Chen wrote:
> diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> index 9f59c95a254c..69bbe39e28de 100644
> --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> @@ -7,7 +7,8 @@
>  
>  #include "arm-smmu-v3.h"
>  
> -void *arm_smmu_hw_info(struct device *dev, u32 *length, u32 *type)
> +void *arm_smmu_hw_info(struct device *dev, u32 *length,
> +		       enum iommu_hw_info_type *type)

I found that this needed to update the header as well.

Fixing in v9..

Thanks
Nicolin



More information about the linux-arm-kernel mailing list