summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorDeming Wang <wangdeming@inspur.com>2022-09-25 22:22:02 -0400
committerMichael S. Tsirkin <mst@redhat.com>2022-10-07 09:32:40 -0400
commitbdeb2f9836c4fd323d87fad4d7a8abd00746c359 (patch)
treef05737b226ddf740c95b1fe215d2e4f46db66372 /drivers/virtio
parent078adb3bf43388d4e1c8f1a63b14f2629f2ad995 (diff)
downloadlinux-stable-bdeb2f9836c4fd323d87fad4d7a8abd00746c359.tar.gz
linux-stable-bdeb2f9836c4fd323d87fad4d7a8abd00746c359.tar.bz2
linux-stable-bdeb2f9836c4fd323d87fad4d7a8abd00746c359.zip
virtio_ring: split: Operators use unified style
The operators of vring_alloc_queue_split should use the unified style.Add space for the '|' ,make it be looked more pretty. Signed-off-by: Deming Wang <wangdeming@inspur.com> Message-Id: <20220926022202.1516-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 4620e9d79dde..ac68bc0e3750 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -1066,7 +1066,7 @@ static int vring_alloc_queue_split(struct vring_virtqueue_split *vring_split,
if (!queue) {
/* Try to get a single page. You are my only hope! */
queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
- &dma_addr, GFP_KERNEL|__GFP_ZERO);
+ &dma_addr, GFP_KERNEL | __GFP_ZERO);
}
if (!queue)
return -ENOMEM;