From: Ville Syrjälä <[email protected]>

W=1 builds warn because struct pvr_mmu_op_context documents the
members of its anonymous map and unmap structs without the struct
name prefix. Use @map.<member> and @unmap.<member> so kernel-doc can
match them.

Cc: Alessio Belle <[email protected]>
Cc: Luigi Santivetti <[email protected]>
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/imagination/pvr_mmu.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/imagination/pvr_mmu.c 
b/drivers/gpu/drm/imagination/pvr_mmu.c
index 494436e673bf..c2e1bffa014c 100644
--- a/drivers/gpu/drm/imagination/pvr_mmu.c
+++ b/drivers/gpu/drm/imagination/pvr_mmu.c
@@ -1388,24 +1388,24 @@ struct pvr_mmu_op_context {
        /** @map: Data specifically for map operations. */
        struct {
                /**
-                * @sgt: Scatter gather table containing pages pinned for use by
+                * @map.sgt: Scatter gather table containing pages pinned for 
use by
                 * this context - these are currently pinned when initialising
                 * the VM bind operation.
                 */
                struct sg_table *sgt;
 
-               /** @sgt_offset: Offset into @sgt of the start of the mapping. 
*/
+               /** @map.sgt_offset: Offset into @map.sgt of the start of the 
mapping. */
                u64 sgt_offset;
 
                /**
-                * @l1_prealloc_tables: Preallocated l1 page table objects
+                * @map.l1_prealloc_tables: Preallocated l1 page table objects
                 * use by this context when creating a page mapping. Linked list
                 * fully created during initialisation.
                 */
                struct pvr_page_table_l1 *l1_prealloc_tables;
 
                /**
-                * @l0_prealloc_tables: Preallocated l0 page table objects
+                * @map.l0_prealloc_tables: Preallocated l0 page table objects
                 * use by this context when creating a page mapping. Linked list
                 * fully created during initialisation.
                 */
@@ -1415,13 +1415,13 @@ struct pvr_mmu_op_context {
        /** @unmap: Data specifically for unmap operations. */
        struct {
                /**
-                * @l1_free_tables: Collects page table objects freed by unmap
+                * @unmap.l1_free_tables: Collects page table objects freed by 
unmap
                 * ops. Linked list empty at creation.
                 */
                struct pvr_page_table_l1 *l1_free_tables;
 
                /**
-                * @l0_free_tables: Collects page table objects freed by unmap
+                * @unmap.l0_free_tables: Collects page table objects freed by 
unmap
                 * ops. Linked list empty at creation.
                 */
                struct pvr_page_table_l0 *l0_free_tables;
-- 
2.56.0

Reply via email to