qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] virtio-gpu: Add spaces around operator


From: 李皆俊
Subject: [PATCH] virtio-gpu: Add spaces around operator
Date: Tue, 9 Mar 2021 11:57:02 +0800 (CST)

From 0512d1cbe5c01844b4aca260024006e058dc1b6c Mon Sep 17 00:00:00 2001

From: lijiejun <a_lijiejun@163.com>

Date: Tue, 9 Mar 2021 11:17:59 +0800

Subject: [PATCH] virtio-gpu: Add spaces around operator


Fix code style. Operator needs spaces forend sides.


Signed-off-by: lijiejun <a_lijiejun@163.com>

---

 hw/display/virtio-gpu-3d.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c

index 9eb4890..fb11e5f 100644

--- a/hw/display/virtio-gpu-3d.c

+++ b/hw/display/virtio-gpu-3d.c

@@ -438,7 +438,7 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,

         break;

     case VIRTIO_GPU_CMD_RESOURCE_FLUSH:

         virgl_cmd_resource_flush(g, cmd);

-       break;

+        break;

     case VIRTIO_GPU_CMD_RESOURCE_UNREF:

         virgl_cmd_resource_unref(g, cmd);

         break;

--

1.8.3.1



 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]