[PATCH] drm/amdgpu: Fix the comment to avoid warning
SHANMUGAM, SRINIVASAN
SRINIVASAN.SHANMUGAM at amd.com
Tue Apr 8 07:22:52 UTC 2025
[AMD Official Use Only - AMD Internal Distribution Only]
This was submitted much before https://patchwork.freedesktop.org/patch/639004/
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Christian König
Sent: Thursday, April 3, 2025 2:33 PM
To: Khatri, Sunil <Sunil.Khatri at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
Subject: Re: [PATCH] drm/amdgpu: Fix the comment to avoid warning
Am 03.04.25 um 09:29 schrieb Sunil Khatri:
> Fix the below comment warning
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
> warning: Function parameter or struct member 'adev'
> not described in 'amdgpu_sdma_register_on_reset_callbacks'
>
> Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> index 0a9893fee828..c3c6f03190c8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> @@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin
>
> /**
> * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks
> + * @adev: Pointer to the AMDGPU device
> * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions
> *
> * This function allows KFD and AMDGPU to register their own callbacks for handling
More information about the amd-gfx
mailing list