Re: [PATCH] drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments

2021-08-09 Thread Alex Deucher
On Sat, Aug 7, 2021 at 7:38 PM Randy Dunlap wrote: > > Don't use "begin kernel-doc notation" (/**) for comments that are > not kernel-doc. This eliminates warnings reported by the 0day bot. > > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:89: warning: This comment starts with > '/**', but isn't a kern

[PATCH] drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments

2021-08-09 Thread Randy Dunlap
Don't use "begin kernel-doc notation" (/**) for comments that are not kernel-doc. This eliminates warnings reported by the 0day bot. drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:89: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

[PATCH] drm/amdgpu: Fix kernel-doc

2021-05-25 Thread Yang Li
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 Signed-off-by: Y

Re: [PATCH] drm/amdgpu: Fix kernel-doc

2021-05-25 Thread Alex Deucher
On Tue, May 25, 2021 at 10:56 PM Yang Li wrote: > > 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

Re: [PATCH] drm: amdgpu: fix kernel-doc struct warning

2020-04-22 Thread Alex Deucher
On Tue, Apr 21, 2020 at 10:34 AM Christian König wrote: > > Am 21.04.20 um 16:33 schrieb Christian König: > > Am 20.04.20 um 03:50 schrieb Randy Dunlap: > >> Fix a kernel-doc warning of missing struct field desription: > >> > >> ../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function > >>

Re: [PATCH] drm: amdgpu: fix kernel-doc struct warning

2020-04-21 Thread Christian König
Am 21.04.20 um 16:33 schrieb Christian König: Am 20.04.20 um 03:50 schrieb Randy Dunlap: Fix a kernel-doc warning of missing struct field desription: ../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock' Can't we j

Re: [PATCH] drm: amdgpu: fix kernel-doc struct warning

2020-04-21 Thread Christian König
Am 20.04.20 um 03:50 schrieb Randy Dunlap: Fix a kernel-doc warning of missing struct field desription: ../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock' Can't we just document the function parameter instead? Sh

Re: [PATCH] drm: amdgpu: fix kernel-doc struct warning

2020-04-21 Thread Harry Wentland
On 2020-04-19 9:50 p.m., Randy Dunlap wrote: > Fix a kernel-doc warning of missing struct field desription: > > ../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or > member 'vm' not described in 'amdgpu_vm_eviction_lock' > > Fixes: a269e44989f3 ("drm/amdgpu: Avoid reclai

[PATCH] drm: amdgpu: fix kernel-doc struct warning

2020-04-19 Thread Randy Dunlap
Fix a kernel-doc warning of missing struct field desription: ../drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:92: warning: Function parameter or member 'vm' not described in 'amdgpu_vm_eviction_lock' Fixes: a269e44989f3 ("drm/amdgpu: Avoid reclaim fs while eviction lock") Signed-off-by: Randy Dunlap C