Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144152
b: refs/heads/master
c: e5b8954
h: refs/heads/master
v: v3
  • Loading branch information
Christian Borntraeger authored and Linus Torvalds committed Apr 24, 2009
1 parent 14d014a commit aac7d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9f5a691253924fd033a58c6b1fed57bb0a4eccf4
refs/heads/master: e5b89542ea18020961882228c26db3ba87f6e608
4 changes: 2 additions & 2 deletions trunk/drivers/char/hw_random/virtio-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ static void random_recv_done(struct virtqueue *vq)
{
int len;

/* We never get spurious callbacks. */
/* We can get spurious callbacks, e.g. shared IRQs + virtio_pci. */
if (!vq->vq_ops->get_buf(vq, &len))
BUG();
return;

data_left = len / sizeof(random_data[0]);
complete(&have_data);
Expand Down

0 comments on commit aac7d53

Please sign in to comment.