Skip to contentSkip to conversation

drm/gpuvm: Fix kernel-doc warning for drm_gpuvm_map_req.map

PATCH Superseded Ankan Biswas 3 participants 4 messages Oct 15, 2025

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/gpuvm: Fix kernel-doc warning for drm_gpuvm_map_req.map

The kernel-doc for struct drm_gpuvm_map_req.map was added as '@op_map' instead of '@map', leading to this warning during htmldocs build:

WARNING: include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'
Fixes 000a45dce7ad ("drm/gpuvm: Pass map arguments through a struct")

---
Changes in v2:
- typos fixed 'map_ops' -> '@op_map', 'map' -> '@map'

 include/drm/drm_gpuvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_gpuvm.h +1 -1
index 8890ded1d907..476990e761f8 100644
@@ -1078,7 +1078,7 @@ struct drm_gpuva_ops {
  */
 struct drm_gpuvm_map_req {
 	/**
-	 * @op_map: struct drm_gpuva_op_map
+	 * @map: struct drm_gpuva_op_map
 	 */
 	struct drm_gpuva_op_map map;
 };
Signature · 1 line
2.51.0
#1 lore raw
Quoted 8 lines · Ankan Biswas

The kernel-doc for struct drm_gpuvm_map_req.map was added as '@op_map' instead of '@map', leading to this warning during htmldocs build:

WARNING: include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'
Fixes 000a45dce7ad ("drm/gpuvm: Pass map arguments through a struct")

Hi Ankan,

Thanks for the fix! Is there a public report from Stephen that you can link to with a Closes: tag after the Reported-by: tag (see [1])?

Otherwise, this looks good to me and I'll be happy to R-b and take it via drm-misc-fixes.

Cheers,
Matt

[1]: https://www.kernel.org/doc/html/latest/process/5.Posting.html#patch-formatting-and-changelogs

Quoted 20 lines

---
Changes in v2:
- typos fixed 'map_ops' -> '@op_map', 'map' -> '@map'

 include/drm/drm_gpuvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_gpuvm.h +1 -1
index 8890ded1d907..476990e761f8 100644
@@ -1078,7 +1078,7 @@ struct drm_gpuva_ops {
  */
 struct drm_gpuvm_map_req {
 	/**
-	 * @op_map: struct drm_gpuva_op_map
+	 * @map: struct drm_gpuva_op_map
 	 */
 	struct drm_gpuva_op_map map;
 };
Signature · 2 lines
Matt Coster
E: [email protected]
maintainer
#2 lore raw
In reply to Ankan Biswas
Quoted 7 lines · Ankan Biswas

The kernel-doc for struct drm_gpuvm_map_req.map was added as '@op_map' instead of '@map', leading to this warning during htmldocs build:

WARNING: include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'
Fixes 000a45dce7ad ("drm/gpuvm: Pass map arguments through a struct")

Please add a Closes: tag, checkpatch.pl should warn about this.

Thanks,
Danilo

#3 lore raw
In reply to Ankan Biswas
Quoted 6 lines · Matt Coster
Quoted 5 lines · Ankan Biswas

The kernel-doc for struct drm_gpuvm_map_req.map was added as '@op_map' instead of '@map', leading to this warning during htmldocs build:

WARNING: include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'
Quoted 7 lines
Quoted 3 lines
Fixes 000a45dce7ad ("drm/gpuvm: Pass map arguments through a struct")

Hi Ankan,

Thanks for the fix! Is there a public report from Stephen that you can link to with a Closes: tag after the Reported-by: tag (see [1])?

Hi Matt

Thanks for pointing that out, I have added the Closes tag for v3. And resent it.

Quoted 3 lines

Otherwise, this looks good to me and I'll be happy to R-b and take it via drm-misc-fixes.

Quoted 4 lines · Danilo Krummrich
Quoted 3 lines · Ankan Biswas

The kernel-doc for struct drm_gpuvm_map_req.map was added as '@op_map' instead of '@map', leading to this warning during htmldocs build:

Quoted 8 lines
Quoted 4 lines
WARNING: include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'
Fixes 000a45dce7ad ("drm/gpuvm: Pass map arguments through a struct")

Please add a Closes: tag, checkpatch.pl should warn about this.

Thanks,
Danilo

Hi Danilo,

My bad, I did not use checkpatch.pl before sending, I didn't know it also caught missing tags. Thanks for mentioning it.

Best Regards,
Ankan Biswas