Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>

On Tue, May 30, 2023 at 2:49 PM Srinivasan Shanmugam
<srinivasan.shanmu...@amd.com> 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.kuehl...@amd.com>
> Cc: Christian König <christian.koe...@amd.com>
> Cc: Alex Deucher <alexander.deuc...@amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmu...@amd.com>
> ---
>  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
>

Reply via email to