mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] include: uapi: linux: iommufd.h: fixed kernel-doc warnings
@ 2023-10-23 10:38 Muhammad Muzammil
  2023-10-24  9:48 ` Muhammad Muzammil
  0 siblings, 1 reply; 3+ messages in thread
From: Muhammad Muzammil @ 2023-10-23 10:38 UTC (permalink / raw)
  To: jgg, kevin.tian; +Cc: iommu, linux-kernel, Muhammad Muzammil

Fixed multiple kernel-docs warnings

Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@gmail.com>
---
 include/uapi/linux/iommufd.h | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h
index 50f98f01fe10..2211f1b53d6e 100644
--- a/include/uapi/linux/iommufd.h
+++ b/include/uapi/linux/iommufd.h
@@ -419,7 +419,7 @@ enum iommu_hw_info_type {
 };
 
 /**
- * enum iommufd_hw_info_capabilities
+ * enum iommufd_hw_capabilities
  * @IOMMU_HW_CAP_DIRTY_TRACKING: IOMMU hardware support for dirty tracking
  *                               If available, it means the following APIs
  *                               are supported:
@@ -486,6 +486,7 @@ enum iommufd_hwpt_set_dirty_tracking_flags {
  * @size: sizeof(struct iommu_hwpt_set_dirty_tracking)
  * @flags: Combination of enum iommufd_hwpt_set_dirty_tracking_flags
  * @hwpt_id: HW pagetable ID that represents the IOMMU domain
+ * @__reserved: Must be 0
  *
  * Toggle dirty tracking on an HW pagetable.
  */
@@ -499,12 +500,12 @@ struct iommu_hwpt_set_dirty_tracking {
 					  IOMMUFD_CMD_HWPT_SET_DIRTY_TRACKING)
 
 /**
- * enum iommufd_get_dirty_bitmap_flags - Flags for getting dirty bits
- * @IOMMU_GET_DIRTY_BITMAP_NO_CLEAR: Just read the PTEs without clearing any
- *                                   dirty bits metadata. This flag can be
- *                                   passed in the expectation where the next
- *                                   operation is an unmap of the same IOVA
- *                                   range.
+ * enum iommufd_hwpt_get_dirty_bitmap_flags - Flags for getting dirty bits
+ * @IOMMU_HWPT_GET_DIRTY_BITMAP_NO_CLEAR: Just read the PTEs without clearing any
+ *                                        dirty bits metadata. This flag can be
+ *                                        passed in the expectation where the next
+ *                                        operation is an unmap of the same IOVA
+ *                                        range.
  *
  */
 enum iommufd_hwpt_get_dirty_bitmap_flags {
@@ -521,6 +522,7 @@ enum iommufd_hwpt_get_dirty_bitmap_flags {
  * @page_size: page size granularity of each bit in the bitmap
  * @data: bitmap where to set the dirty bits. The bitmap bits each
  *        represent a page_size which you deviate from an arbitrary iova.
+ * @__reserved: Must be 0
  *
  * Checking a given IOVA is dirty:
  *
-- 
2.27.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-24 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 10:38 [PATCH] include: uapi: linux: iommufd.h: fixed kernel-doc warnings Muhammad Muzammil
2023-10-24  9:48 ` Muhammad Muzammil
2023-10-24 11:30   ` Joao Martins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®