Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225153
b: refs/heads/master
c: dfe5ac5
h: refs/heads/master
i:
  225151: 47ffeee
v: v3
  • Loading branch information
Michael S. Tsirkin committed Nov 4, 2010
1 parent 989aacf commit f47ee3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64e1c80748afca3b4818ebb232a9668bf529886d
refs/heads/master: dfe5ac5b18be5b10d01a17e734a9905c0def6088
2 changes: 1 addition & 1 deletion trunk/drivers/vhost/vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ static int __vhost_add_used_n(struct vhost_virtqueue *vq,

start = vq->last_used_idx % vq->num;
used = vq->used->ring + start;
if (copy_to_user(used, heads, count * sizeof *used)) {
if (__copy_to_user(used, heads, count * sizeof *used)) {
vq_err(vq, "Failed to write used");
return -EFAULT;
}
Expand Down

0 comments on commit f47ee3f

Please sign in to comment.