提交 f7adf389 编写于 作者: D Deming Wang 提交者: Michael S. Tsirkin

virtio_ring: make vring_alloc_queue_packed prettier

Add some spaces to vring_alloc_queue(make it look prettier).
Signed-off-by: NDeming Wang <wangdeming@inspur.com>
Message-Id: <20220926183306.4535-1-wangdeming@inspur.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 bdeb2f98
...@@ -1867,7 +1867,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed, ...@@ -1867,7 +1867,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
ring = vring_alloc_queue(vdev, ring_size_in_bytes, ring = vring_alloc_queue(vdev, ring_size_in_bytes,
&ring_dma_addr, &ring_dma_addr,
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO); GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
if (!ring) if (!ring)
goto err; goto err;
...@@ -1879,7 +1879,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed, ...@@ -1879,7 +1879,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
driver = vring_alloc_queue(vdev, event_size_in_bytes, driver = vring_alloc_queue(vdev, event_size_in_bytes,
&driver_event_dma_addr, &driver_event_dma_addr,
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO); GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
if (!driver) if (!driver)
goto err; goto err;
...@@ -1889,7 +1889,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed, ...@@ -1889,7 +1889,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
device = vring_alloc_queue(vdev, event_size_in_bytes, device = vring_alloc_queue(vdev, event_size_in_bytes,
&device_event_dma_addr, &device_event_dma_addr,
GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO); GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
if (!device) if (!device)
goto err; goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册