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>
This commit is contained in:
parent
078adb3bf4
commit
bdeb2f9836
drivers/virtio
|
@ -1066,7 +1066,7 @@ static int vring_alloc_queue_split(struct vring_virtqueue_split *vring_split,
|
||||||
if (!queue) {
|
if (!queue) {
|
||||||
/* Try to get a single page. You are my only hope! */
|
/* Try to get a single page. You are my only hope! */
|
||||||
queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
|
queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
|
||||||
&dma_addr, GFP_KERNEL|__GFP_ZERO);
|
&dma_addr, GFP_KERNEL | __GFP_ZERO);
|
||||||
}
|
}
|
||||||
if (!queue)
|
if (!queue)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Reference in New Issue