diff options
author | Deming Wang <wangdeming@inspur.com> | 2022-06-22 21:23:06 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-06-27 14:05:35 +0200 |
commit | c7cc29aaebf9eaa543b4c70801e0ecef1101b3c8 (patch) | |
tree | a9567b68c0ab329d4bf1eff03bc982fe4a19cd7b /drivers/virtio | |
parent | vhost-vdpa: call vhost_vdpa_cleanup during the release (diff) | |
download | linux-c7cc29aaebf9eaa543b4c70801e0ecef1101b3c8.tar.xz linux-c7cc29aaebf9eaa543b4c70801e0ecef1101b3c8.zip |
virtio_ring: make vring_create_virtqueue_split prettier
Add some spaces to vring_alloc_queue(make it look prettier).
Signed-off-by: Deming Wang <wangdeming@inspur.com>
Message-Id: <20220622192306.4371-1-wangdeming@inspur.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r-- | drivers/virtio/virtio_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 96731cdef422..643ca779fcc6 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -935,7 +935,7 @@ static struct virtqueue *vring_create_virtqueue_split( for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) { queue = vring_alloc_queue(vdev, vring_size(num, vring_align), &dma_addr, - GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO); + GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); if (queue) break; if (!may_reduce_num) |