drm/ttm: Fix excess doc paramater warning in ttm_bo_mem_space
Subsystems (3)
PATCH 1/1 drm/ttm: Fix excess doc paramater warning in ttm_bo_mem_space
Rename documentation parameter from "proposed_placement" to "placement" to avoid the warnings of function parameter not described and excess function parameter.
Signed-off-by Yussef Fatayer <[email protected]>
--- drivers/gpu/drm/ttm/ttm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ttm/ttm_bo.c +1 -1
@@ -748,7 +748,7 @@ static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo,* * @bo: Pointer to a struct ttm_buffer_object. the data of which * we want to allocate space for. -* @proposed_placement: Proposed new placement for the buffer object. +* @placement: Proposed new placement for the buffer object. * @mem: A struct ttm_resource. * @ctx: if and how to sleep, lock buffers and alloc memory *
Signature · 1 line
2.39.2
Quoted 5 lines · Yussef Fatayer
Rename documentation parameter from "
proposed_placement" to "placement" to avoid the warnings of function parameter not described and excess function parameter.Signed-off-by Yussef Fatayer <[email protected]>
Reviewed-by Maíra Canal <[email protected]>
Best Regards,
- Maíra Canal
Quoted 17 lines
--- drivers/gpu/drm/ttm/ttm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/ttm/ttm_bo.c +1
-1@@ -748,7 +748,7 @@ static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo,* * @bo: Pointer to a struct ttm_buffer_object. the data of which * we want to allocate space for. -* @proposed_placement: Proposed new placement for the buffer object. +* @placement: Proposed new placement for the buffer object. * @mem: A struct ttm_resource. * @ctx: if and how to sleep, lock buffers and alloc memory *