[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_PseP5LDdLY7=v6K7VZ-d_hZW_diuRh721S8gDHmaoYNg@mail.gmail.com>
Date: Tue, 25 May 2021 23:26:19 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: "Deucher, Alexander" <alexander.deucher@....com>,
Dave Airlie <airlied@...ux.ie>,
LKML <linux-kernel@...r.kernel.org>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Christian Koenig <christian.koenig@....com>
Subject: Re: [PATCH] drm/amdgpu: Fix kernel-doc
On Tue, May 25, 2021 at 10:56 PM Yang Li <yang.lee@...ux.alibaba.com> 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_enable() instead.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Already fixed:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/ef6f76407cd7796bdeec31305c435162ab54c030
Thanks,
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
> index 240596b..db79ee5 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
> @@ -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
>
Powered by blists - more mailing lists