Skip to content

Commit f7adf38

Browse files
Deming Wangmstsirkin
authored andcommitted
virtio_ring: make vring_alloc_queue_packed prettier
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>
1 parent bdeb2f9 commit f7adf38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/virtio/virtio_ring.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
18671867

18681868
ring = vring_alloc_queue(vdev, ring_size_in_bytes,
18691869
&ring_dma_addr,
1870-
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
1870+
GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
18711871
if (!ring)
18721872
goto err;
18731873

@@ -1879,7 +1879,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
18791879

18801880
driver = vring_alloc_queue(vdev, event_size_in_bytes,
18811881
&driver_event_dma_addr,
1882-
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
1882+
GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
18831883
if (!driver)
18841884
goto err;
18851885

@@ -1889,7 +1889,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
18891889

18901890
device = vring_alloc_queue(vdev, event_size_in_bytes,
18911891
&device_event_dma_addr,
1892-
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
1892+
GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
18931893
if (!device)
18941894
goto err;
18951895

0 commit comments

Comments
 (0)