qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio-gpu: Adjust code space style
@ 2021-03-09 12:14 lijiejun
  2021-03-09 13:32 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: lijiejun @ 2021-03-09 12:14 UTC (permalink / raw)
  To: kraxel; +Cc: lijiejun, qemu-devel

Fix code style. Operator needs align with eight spaces, and delete line space.

Signed-off-by: lijiejun <a_lijiejun@163.com>
---
 hw/display/virtio-gpu-3d.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c
index 9eb4890..d989648 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;
@@ -456,7 +456,6 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,
     case VIRTIO_GPU_CMD_GET_CAPSET:
         virgl_cmd_get_capset(g, cmd);
         break;
-
     case VIRTIO_GPU_CMD_GET_DISPLAY_INFO:
         virtio_gpu_get_display_info(g, cmd);
         break;
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] virtio-gpu: Adjust code space style
  2021-03-09 12:14 [PATCH] virtio-gpu: Adjust code space style lijiejun
@ 2021-03-09 13:32 ` Philippe Mathieu-Daudé
  2021-03-09 21:01   ` Laurent Vivier
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-03-09 13:32 UTC (permalink / raw)
  To: lijiejun, kraxel; +Cc: QEMU Trivial, qemu-devel

On 3/9/21 1:14 PM, lijiejun wrote:
> Fix code style. Operator needs align with eight spaces, and delete line space.
> 
> Signed-off-by: lijiejun <a_lijiejun@163.com>
> ---
>  hw/display/virtio-gpu-3d.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] virtio-gpu: Adjust code space style
  2021-03-09 13:32 ` Philippe Mathieu-Daudé
@ 2021-03-09 21:01   ` Laurent Vivier
  0 siblings, 0 replies; 3+ messages in thread
From: Laurent Vivier @ 2021-03-09 21:01 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, lijiejun, kraxel; +Cc: QEMU Trivial, qemu-devel

Le 09/03/2021 à 14:32, Philippe Mathieu-Daudé a écrit :
> On 3/9/21 1:14 PM, lijiejun wrote:
>> Fix code style. Operator needs align with eight spaces, and delete line space.
>>
>> Signed-off-by: lijiejun <a_lijiejun@163.com>
>> ---
>>  hw/display/virtio-gpu-3d.c | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> 

Applied to my trivial-patches branch.

Thanks,
Laurent



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-09 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 12:14 [PATCH] virtio-gpu: Adjust code space style lijiejun
2021-03-09 13:32 ` Philippe Mathieu-Daudé
2021-03-09 21:01   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).