Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370947
b: refs/heads/master
c: fb6aa6f
h: refs/heads/master
i:
  370945: c256eb0
  370943: 4a6924e
v: v3
  • Loading branch information
Rusty Russell committed Mar 20, 2013
1 parent a70ce43 commit c59a45c
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: 9dc7b9e4d0a6daac5b1f29a338911d63d34533cd
refs/heads/master: fb6aa6fcfec29932122cb0fb2d5d1f7700a9883b
2 changes: 1 addition & 1 deletion trunk/drivers/char/hw_random/virtio-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void register_buffer(u8 *buf, size_t size)
sg_init_one(&sg, buf, size);

/* There should always be room for one buffer. */
if (virtqueue_add_buf(vq, &sg, 0, 1, buf, GFP_KERNEL) < 0)
if (virtqueue_add_inbuf(vq, &sg, 1, buf, GFP_KERNEL) < 0)
BUG();

virtqueue_kick(vq);
Expand Down

0 comments on commit c59a45c

Please sign in to comment.