LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0013-drm-virtio-Fix-compile-warning-for-use-of-find_vbq.patch of Package drm (Project home:tiwai:bnc1050256)

From 08e933efd25f059e73b50cb3f3041908a60e19a5 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <pjakobsson@suse.de>
Date: Thu, 30 Mar 2017 15:17:56 +0200
Subject: [PATCH 13/14] drm/virtio: Fix compile warning for use of find_vbq()

Signed-off-by: Patrik Jakobsson <pjakobsson@suse.de>
---
 drivers/gpu/drm/virtio/virtgpu_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/virtio/virtgpu_kms.c b/drivers/gpu/drm/virtio/virtgpu_kms.c
index 036b0fb..66970ec 100644
--- a/drivers/gpu/drm/virtio/virtgpu_kms.c
+++ b/drivers/gpu/drm/virtio/virtgpu_kms.c
@@ -130,7 +130,7 @@ int virtio_gpu_driver_load(struct drm_device *dev, unsigned long flags)
 	static vq_callback_t *callbacks[] = {
 		virtio_gpu_ctrl_ack, virtio_gpu_cursor_ack
 	};
-	static const char * const names[] = { "control", "cursor" };
+	static const char *names[] = { "control", "cursor" };
 
 	struct virtio_gpu_device *vgdev;
 	/* this will expand later */
-- 
2.12.0