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

From: lijiejun <a_lijie...@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_lijie...@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