]> git.baikalelectronics.ru Git - kernel.git/commitdiff
virtio_ring: make vring_alloc_queue_packed prettier
authorDeming Wang <wangdeming@inspur.com>
Mon, 26 Sep 2022 18:33:06 +0000 (14:33 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:32:40 +0000 (09:32 -0400)
Add some spaces to vring_alloc_queue(make it look prettier).

Signed-off-by: Deming Wang <wangdeming@inspur.com>
Message-Id: <20220926183306.4535-1-wangdeming@inspur.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c

index ac68bc0e3750fdf22f820e3b86077bb4912c1387..af16a7e8c67e882e1eff28035c1b93d80832a76b 100644 (file)
@@ -1867,7 +1867,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        ring = vring_alloc_queue(vdev, ring_size_in_bytes,
                                 &ring_dma_addr,
-                                GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!ring)
                goto err;
 
@@ -1879,7 +1879,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        driver = vring_alloc_queue(vdev, event_size_in_bytes,
                                   &driver_event_dma_addr,
-                                  GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                  GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!driver)
                goto err;
 
@@ -1889,7 +1889,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        device = vring_alloc_queue(vdev, event_size_in_bytes,
                                   &device_event_dma_addr,
-                                  GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                  GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!device)
                goto err;