Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx> On Tue, May 30, 2023 at 2:49 PM Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx> wrote: > > Fix this warning by adding 'ring' arguments to kdoc. > > gcc with W=1 > drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c:1128: warning: Function parameter or member 'ring' not described in 'sdma_v6_0_ring_pad_ib' > > Cc: Felix Kuehling <Felix.Kuehling@xxxxxxx> > Cc: Christian König <christian.koenig@xxxxxxx> > Cc: Alex Deucher <alexander.deucher@xxxxxxx> > Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c > index 967849c59ebe..3b03dda854fd 100644 > --- a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c > @@ -1121,6 +1121,7 @@ static void sdma_v6_0_vm_set_pte_pde(struct amdgpu_ib *ib, > /** > * sdma_v6_0_ring_pad_ib - pad the IB > * @ib: indirect buffer to fill with padding > + * @ring: amdgpu ring pointer > * > * Pad the IB with NOPs to a boundary multiple of 8. > */ > -- > 2.25.1 >