[PATCH v1 03/12] iommufd: Use enum iommu_viommu_type for type in struct iommufd_viommu
Nicolin Chen
nicolinc at nvidia.com
Mon Jun 9 10:13:26 PDT 2025
Replace unsigned init, to make it clear. No functional changes.
The viommu_alloc iommu op will be deprecated, so don't change that.
Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
---
include/linux/iommufd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/iommufd.h b/include/linux/iommufd.h
index 498c9a768506..ac98e49e44fe 100644
--- a/include/linux/iommufd.h
+++ b/include/linux/iommufd.h
@@ -101,7 +101,7 @@ struct iommufd_viommu {
struct list_head veventqs;
struct rw_semaphore veventqs_rwsem;
- unsigned int type;
+ enum iommu_viommu_type type;
};
/**
--
2.43.0
More information about the linux-arm-kernel
mailing list