Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1446695
| From | Sean Paul <seanpaul@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] drm/virtio: Fix non static symbol warning |
| Date | 2016-07-19 21:50 +0200 |
| Message-ID | <rWJbH-8bB-19@gated-at.bofh.it> (permalink) |
| References | <rWCDg-44x-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jul 19, 2016 at 8:45 AM, Wei Yongjun <weiyj_lk@163.com> wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Fixes the following sparse warning:
>
> drivers/gpu/drm/virtio/virtgpu_display.c:349:37: warning:
> symbol 'virtio_mode_config_helpers' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Applied to drm-misc
> ---
> drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
> index fdfc711..4e192aa 100644
> --- a/drivers/gpu/drm/virtio/virtgpu_display.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_display.c
> @@ -346,7 +346,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
> drm_atomic_helper_cleanup_planes(dev, state);
> }
>
> -struct drm_mode_config_helper_funcs virtio_mode_config_helpers = {
> +static struct drm_mode_config_helper_funcs virtio_mode_config_helpers = {
> .atomic_commit_tail = vgdev_atomic_commit_tail,
> };
>
>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH -next] drm/virtio: Fix non static symbol warning Wei Yongjun <weiyj_lk@163.com> - 2016-07-19 14:50 +0200 Re: [PATCH -next] drm/virtio: Fix non static symbol warning Sean Paul <seanpaul@google.com> - 2016-07-19 21:50 +0200
csiph-web