[PATCH 2/2] drm/radeon: fix the warning for radeon_cs_parser_fini

Tvrtko Ursulin tvrtko.ursulin at igalia.com
Thu Apr 17 11:32:31 UTC 2025


On 17/04/2025 10:34, Sunil Khatri wrote:
> Fix the below warning message.
> radeon/radeon_cs.c:418: warning: Excess function parameter 'backoff' description in 'radeon_cs_parser_fini'
> 
> Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
> ---
>   drivers/gpu/drm/radeon/radeon_cs.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c
> index 64b26bfeafc9..b8e6202f1d5b 100644
> --- a/drivers/gpu/drm/radeon/radeon_cs.c
> +++ b/drivers/gpu/drm/radeon/radeon_cs.c
> @@ -409,7 +409,6 @@ static int cmp_size_smaller_first(void *priv, const struct list_head *a,
>    * radeon_cs_parser_fini() - clean parser states
>    * @parser:	parser structure holding parsing context.
>    * @error:	error number
> - * @backoff:	indicator to backoff the reservation
>    *
>    * If error is set than unvalidate buffer, otherwise just free memory
>    * used by parsing context.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>

Regards,

Tvrtko



More information about the amd-gfx mailing list