diff mbox series

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

Message ID 20250417093409.2242506-2-sunil.khatri@amd.com (mailing list archive)
State New
Headers show
Series [1/2] drm/ttm: fix the warning for hit_low and evict_low | expand

Commit Message

Sunil Khatri April 17, 2025, 9:34 a.m. UTC
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@amd.com>
---
 drivers/gpu/drm/radeon/radeon_cs.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Tvrtko Ursulin April 17, 2025, 11:32 a.m. UTC | #1
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@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@igalia.com>

Regards,

Tvrtko
diff mbox series

Patch

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.