diff options
-rw-r--r-- | drivers/vhost/vhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 53b1b3cfce84..80d62cefa284 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -720,7 +720,7 @@ static int translate_desc(struct vhost_virtqueue *vq, u64 addr, u32 len, struct iovec iov[], int iov_size, int access); static int vhost_copy_to_user(struct vhost_virtqueue *vq, void *to, - const void *from, unsigned size) + void *from, unsigned size) { int ret; |