]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: Fix kernel-doc comment syntax issues in header files
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 14 Apr 2026 22:54:32 +0000 (22:54 +0000)
committerShuicheng Lin <shuicheng.lin@intel.com>
Thu, 16 Apr 2026 15:32:00 +0000 (08:32 -0700)
Fix doc comment formatting that does not conform to kernel-doc syntax
rules:

- xe_guc_relay_types.h: Add missing space after '/**' in member doc
  comment (/**@lock -> /** @lock)
- xe_oa_types.h: Fix struct documentation to use proper kernel-doc
  format (/** @xe_oa_buffer: -> /** struct xe_oa_buffer -)
- xe_pagefault_types.h: Use dash instead of colon as separator in
  struct doc (struct xe_pagefault_queue: -> struct xe_pagefault_queue -)
- xe_pt_walk.h: Use dash instead of colon as separator in function
  docs (xe_pt_num_entries: -> xe_pt_num_entries -,
  xe_pt_offset: -> xe_pt_offset -)

Assisted-by: GitHub Copilot:claude-sonnet-4.6
Reviewed-by: Brian Nguyen <brian3.nguyen@intel.com>
Link: https://patch.msgid.link/20260414225457.3687449-4-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
drivers/gpu/drm/xe/xe_guc_relay_types.h
drivers/gpu/drm/xe/xe_oa_types.h
drivers/gpu/drm/xe/xe_pagefault_types.h
drivers/gpu/drm/xe/xe_pt_walk.h

index 20eee10856b250a367ac76224a0588b1a04e4004..b99a6686416ba9a4a44bc803a9e8d929622fa9da 100644 (file)
@@ -15,7 +15,7 @@
  * struct xe_guc_relay - Data used by the VF-PF Relay Communication over GuC.
  */
 struct xe_guc_relay {
-       /**@lock: protects all internal data. */
+       /** @lock: protects all internal data. */
        spinlock_t lock;
 
        /** @worker: dispatches incoming action messages. */
index acd78bc1482252e001e8b4eb242888089300fd7d..0c48c1e0c2c68863a405ee1e5c92c2a63b30bb0b 100644 (file)
@@ -154,7 +154,9 @@ struct xe_oa {
        u16 oa_unit_ids;
 };
 
-/** @xe_oa_buffer: State of the stream OA buffer */
+/**
+ * struct xe_oa_buffer - State of the stream OA buffer
+ */
 struct xe_oa_buffer {
        /** @format: data format */
        const struct xe_oa_format *format;
index aa3cfae01b9c037adacc7072dec27645cb8a1f89..c4ee625b93dddfc5c7d0b159c13b81f6dda05676 100644 (file)
@@ -112,7 +112,7 @@ struct xe_pagefault {
 };
 
 /**
- * struct xe_pagefault_queue: Xe pagefault queue (consumer)
+ * struct xe_pagefault_queue - Xe pagefault queue (consumer)
  *
  * Used to capture all device page faults for deferred processing. Size this
  * queue to absorb the device’s worst-case number of outstanding faults.
index 07c8f409f23663512dbe7e1e8170915ac7b4d4a6..dcedfc9a28df694c956782a0a17cc79a2f6c688f 100644 (file)
@@ -111,7 +111,7 @@ static inline bool xe_pt_covers(u64 addr, u64 end, unsigned int level,
 }
 
 /**
- * xe_pt_num_entries: Number of page-table entries of a given range at this
+ * xe_pt_num_entries - Number of page-table entries of a given range at this
  * level
  * @addr: Start address.
  * @end: End address.
@@ -132,7 +132,7 @@ xe_pt_num_entries(u64 addr, u64 end, unsigned int level,
 }
 
 /**
- * xe_pt_offset: Offset of the page-table entry for a given address.
+ * xe_pt_offset - Offset of the page-table entry for a given address.
  * @addr: The address.
  * @level: Page table level.
  * @walk: Walk info.