drm/amdgpu: Fix kernel-doc
Subsystems (2)
PATCH 1/1 drm/amdgpu: Fix kernel-doc
Fix function name in sdma_v5_2.c kernel-doc comment to remove a warning found by clang_w1.
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:528: warning: expecting prototype for sdma_v_0_ctx_switch_enable(). Prototype was for sdma_v5_2_ctx_switch_enable() instead.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +1 -1
@@ -512,7 +512,7 @@ static void sdma_v5_2_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_2_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch.
Signature · 1 line
1.8.3.1
Quoted 10 lines · Yang Li
Fix function name in
sdma_v5_2.ckernel-doc comment to remove a warning found byclang_w1.
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c:528: warning: expecting prototype forsdma_v_0_ctx_switch_enable(). Prototype was forsdma_v5_2_ctx_switch_enable()instead.Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Already fixed:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/ef6f76407cd7796bdeec31305c435162ab54c030
Thanks,
Alex
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c +1
-2@@ -512,7 +512,7 @@ static void sdma_v5_2_rlc_stop(struct amdgpu_device *adev) }/** -* sdma_v_0_ctx_switch_enable - stop the async dma engines context switch +* sdma_v5_2_ctx_switch_enable - stop the async dma engines context switch * * @adev: amdgpu_device pointer * @enable: enable/disable the DMA MEs context switch. -- 1.8.3.1