Message ID | 20210520120248.3464013-10-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Rid W=1 warnings from GPU | expand |
Hi Lee Thank you for the patch BR Fabien ST Restricted > -----Original Message----- > From: Lee Jones <lee.jones@linaro.org> > Sent: jeudi 20 mai 2021 14:02 > To: lee.jones@linaro.org > Cc: linux-kernel@vger.kernel.org; Benjamin Gaignard > <benjamin.gaignard@linaro.org>; David Airlie <airlied@linux.ie>; Daniel Vetter > <daniel@ffwll.ch>; Philipp Zabel <p.zabel@pengutronix.de>; Fabien DESSENNE > <fabien.dessenne@st.com>; dri-devel@lists.freedesktop.org > 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 <benjamin.gaignard@linaro.org> > Cc: David Airlie <airlied@linux.ie> > Cc: Daniel Vetter <daniel@ffwll.ch> > Cc: Philipp Zabel <p.zabel@pengutronix.de> > Cc: Fabien Dessenne <fabien.dessenne@st.com> > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Fabien Dessenne <fabien.dessenne@foss.st.com> > --- > 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
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
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 <benjamin.gaignard@linaro.org> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: Fabien Dessenne <fabien.dessenne@st.com> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/sti/sti_hqvdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)