2021-05-20 12:44:44

by Lee Jones

[permalink] [raw]
Subject: [PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/sti/sti_hqvdp.c:796: warning: expecting prototype for sti_vdp_vtg_cb(). Prototype was for sti_hqvdp_vtg_cb() instead

Cc: Benjamin Gaignard <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: Fabien Dessenne <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
---
drivers/gpu/drm/sti/sti_hqvdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c
index edbb99f53de19..d09b08995b12a 100644
--- a/drivers/gpu/drm/sti/sti_hqvdp.c
+++ b/drivers/gpu/drm/sti/sti_hqvdp.c
@@ -782,7 +782,7 @@ static void sti_hqvdp_disable(struct sti_hqvdp *hqvdp)
}

/**
- * sti_vdp_vtg_cb
+ * sti_hqvdp_vtg_cb
* @nb: notifier block
* @evt: event message
* @data: private data
--
2.31.1


2021-05-21 06:03:04

by Fabien DESSENNE

[permalink] [raw]
Subject: RE: [PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'

Hi Lee

Thank you for the patch

BR
Fabien


ST Restricted

> -----Original Message-----
> From: Lee Jones <[email protected]>
> Sent: jeudi 20 mai 2021 14:02
> To: [email protected]
> Cc: [email protected]; Benjamin Gaignard
> <[email protected]>; David Airlie <[email protected]>; Daniel Vetter
> <[email protected]>; Philipp Zabel <[email protected]>; Fabien DESSENNE
> <[email protected]>; [email protected]
> Subject: [PATCH 09/38] drm/sti/sti_hqvdp: Fix incorrectly named function
> 'sti_hqvdp_vtg_cb()'
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/sti/sti_hqvdp.c:796: warning: expecting prototype for
> sti_vdp_vtg_cb(). Prototype was for sti_hqvdp_vtg_cb() instead
>
> Cc: Benjamin Gaignard <[email protected]>
> Cc: David Airlie <[email protected]>
> Cc: Daniel Vetter <[email protected]>
> Cc: Philipp Zabel <[email protected]>
> Cc: Fabien Dessenne <[email protected]>
> Cc: [email protected]
> Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Fabien Dessenne <[email protected]>

> ---
> drivers/gpu/drm/sti/sti_hqvdp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c
> index edbb99f53de19..d09b08995b12a 100644
> --- a/drivers/gpu/drm/sti/sti_hqvdp.c
> +++ b/drivers/gpu/drm/sti/sti_hqvdp.c
> @@ -782,7 +782,7 @@ static void sti_hqvdp_disable(struct sti_hqvdp *hqvdp) }
>
> /**
> - * sti_vdp_vtg_cb
> + * sti_hqvdp_vtg_cb
> * @nb: notifier block
> * @evt: event message
> * @data: private data
> --
> 2.31.1