projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4b612
)
virtio_ring: make virtqueue_add_indirect_packed prettier
author
Xuan Zhuo
<xuanzhuo@linux.alibaba.com>
Wed, 20 Oct 2021 11:23:22 +0000
(19:23 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Mon, 1 Nov 2021 09:26:47 +0000
(
05:26
-0400)
Align the arguments of virtqueue_add_indirect_packed() to the open ( to
make it look prettier.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link:
https://lore.kernel.org/r/20211020112323.67466-2-xuanzhuo@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c
patch
|
blob
|
history
diff --git
a/drivers/virtio/virtio_ring.c
b/drivers/virtio/virtio_ring.c
index 3035bb6f545854fe7a3db1861b05b616de668c18..73594c164cbce1523bd3efe6cd137971183e58fb 100644
(file)
--- a/
drivers/virtio/virtio_ring.c
+++ b/
drivers/virtio/virtio_ring.c
@@
-1050,12
+1050,12
@@
static struct vring_packed_desc *alloc_indirect_packed(unsigned int total_sg,
}
static int virtqueue_add_indirect_packed(struct vring_virtqueue *vq,
- struct scatterlist *sgs[],
- unsigned int total_sg,
- unsigned int out_sgs,
- unsigned int in_sgs,
- void *data,
- gfp_t gfp)
+
struct scatterlist *sgs[],
+
unsigned int total_sg,
+
unsigned int out_sgs,
+
unsigned int in_sgs,
+
void *data,
+
gfp_t gfp)
{
struct vring_packed_desc *desc;
struct scatterlist *sg;