From: Hans de Goede <hdegoede@redhat.com>
To: Craig Kewley <craigkewley@gmail.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sean Paul <seanpaul@chromium.org>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: vboxvideo: make a couple of funcs static
Date: Thu, 11 Oct 2018 10:53:43 +0200 [thread overview]
Message-ID: <08d278ea-516d-0c8a-a240-44d41af6063e@redhat.com> (raw)
In-Reply-To: <20181010201705.15220-1-craigkewley@gmail.com>
Hi,
On 10-10-18 22:17, Craig Kewley wrote:
> Fix Sparse warnings:
> drivers/staging/vboxvideo/vbox_mode.c:309:6: warning:
> symbol 'vbox_primary_atomic_disable' was not declared. Should it be static?
>
> drivers/staging/vboxvideo/vbox_mode.c:452:6: warning:
> symbol 'vbox_cursor_atomic_disable' was not declared. Should it be static?
>
> Signed-off-by: Craig Kewley <craigkewley@gmail.com>
Thanks.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Regards,
Hans
> ---
> drivers/staging/vboxvideo/vbox_mode.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/vboxvideo/vbox_mode.c b/drivers/staging/vboxvideo/vbox_mode.c
> index 042e4f384df9..deed28c7a1db 100644
> --- a/drivers/staging/vboxvideo/vbox_mode.c
> +++ b/drivers/staging/vboxvideo/vbox_mode.c
> @@ -306,8 +306,8 @@ static void vbox_primary_atomic_update(struct drm_plane *plane,
> plane->state->src_y >> 16);
> }
>
> -void vbox_primary_atomic_disable(struct drm_plane *plane,
> - struct drm_plane_state *old_state)
> +static void vbox_primary_atomic_disable(struct drm_plane *plane,
> + struct drm_plane_state *old_state)
> {
> struct drm_crtc *crtc = old_state->crtc;
>
> @@ -449,8 +449,8 @@ static void vbox_cursor_atomic_update(struct drm_plane *plane,
> mutex_unlock(&vbox->hw_mutex);
> }
>
> -void vbox_cursor_atomic_disable(struct drm_plane *plane,
> - struct drm_plane_state *old_state)
> +static void vbox_cursor_atomic_disable(struct drm_plane *plane,
> + struct drm_plane_state *old_state)
> {
> struct vbox_private *vbox =
> container_of(plane->dev, struct vbox_private, ddev);
>
prev parent reply other threads:[~2018-10-11 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 20:17 Craig Kewley
2018-10-11 8:53 ` Hans de Goede [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08d278ea-516d-0c8a-a240-44d41af6063e@redhat.com \
--to=hdegoede@redhat.com \
--cc=craigkewley@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seanpaul@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®