virtio_ring: split: Operators use unified style
PATCH 1/1 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 <[email protected]>
--- drivers/virtio/virtio_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_ring.c +1 -1
@@ -1074,7 +1074,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 ;
Signature · 1 line
2.27.0
Michael S. Tsirkin
maintainerQuoted 4 lines · Deming Wang
The operators of
vring_alloc_queue_splitshould use the unified style.Add space for the '|' ,make it be looked more pretty.Signed-off-by Deming Wang <[email protected]>
Thanks for the patch!
Since this is about cosmetics let's make the patch look good:
Pls tweak the commit log. Space after . and , no space before , unified style -> kernel coding style
make it be looked more pretty -> make it prettier.
Quoted 19 lines
--- drivers/virtio/virtio_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/virtio/virtio_ring.c +1
-1@@ -1074,7 +1074,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 ;Signature · 1 line
2.27.0
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization