Commit c7cc29aa authored by Deming Wang's avatar Deming Wang Committed by Michael S. Tsirkin

virtio_ring: make vring_create_virtqueue_split prettier

Add some spaces to vring_alloc_queue(make it look prettier).
Signed-off-by: default avatarDeming Wang <wangdeming@inspur.com>
Message-Id: <20220622192306.4371-1-wangdeming@inspur.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 037d4305
...@@ -935,7 +935,7 @@ static struct virtqueue *vring_create_virtqueue_split( ...@@ -935,7 +935,7 @@ static struct virtqueue *vring_create_virtqueue_split(
for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) {
queue = vring_alloc_queue(vdev, vring_size(num, vring_align), queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
&dma_addr, &dma_addr,
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO); GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
if (queue) if (queue)
break; break;
if (!may_reduce_num) if (!may_reduce_num)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment