Skip to content

Commit 9e396a2

Browse files
Xianting Tianmstsirkin
authored andcommitted
vhost: Make parameter name match of vhost_get_vq_desc()
The parameter name in the function declaration and definition should be the same. drivers/vhost/vhost.h, int vhost_get_vq_desc(..., unsigned int iov_count,...); drivers/vhost/vhost.c, int vhost_get_vq_desc(..., unsigned int iov_size,...) Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com> Message-Id: <20230621093835.36878-1-xianting.tian@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent f06cf1e commit 9e396a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/vhost/vhost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ bool vhost_log_access_ok(struct vhost_dev *);
200200
void vhost_clear_msg(struct vhost_dev *dev);
201201

202202
int vhost_get_vq_desc(struct vhost_virtqueue *,
203-
struct iovec iov[], unsigned int iov_count,
203+
struct iovec iov[], unsigned int iov_size,
204204
unsigned int *out_num, unsigned int *in_num,
205205
struct vhost_log *log, unsigned int *log_num);
206206
void vhost_discard_vq_desc(struct vhost_virtqueue *, int n);

0 commit comments

Comments
 (0)