[PATCH] gpuvm: Fix kernel-doc warning for drm_gpuvm_map_req

Kriish Sharma posted 1 patch 2 months, 1 week ago
include/drm/drm_gpuvm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gpuvm: Fix kernel-doc warning for drm_gpuvm_map_req
Posted by Kriish Sharma 2 months, 1 week ago
WARNING: ./include/drm/drm_gpuvm.h:1083 struct member 'map' not described in 'drm_gpuvm_map_req'

The struct drm_gpuvm_map_req has a member named `map`, but the
kernel-doc comment still refers to it as `@op_map`. This patch
updates the documentation to match the current field name.

Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
---
 include/drm/drm_gpuvm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h
index 8890ded1d907..476990e761f8 100644
--- a/include/drm/drm_gpuvm.h
+++ b/include/drm/drm_gpuvm.h
@@ -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;
 };
-- 
2.34.1