projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047b9b9
)
virtio_ring: adapt to notify() returning bool
author
Heinz Graalfs
<graalfs@linux.vnet.ibm.com>
Tue, 5 Nov 2013 10:50:27 +0000
(21:20 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 5 Nov 2013 10:51:08 +0000
(21:21 +1030)
Correct if statement to check for bool returned by notify()
(introduced in
5b1bf7cb673a
).
Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_ring.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/virtio/virtio_ring.c
b/drivers/virtio/virtio_ring.c
index f47777582ce51c7ee05b5d8624754653c18e3222..28b5338fff715141572b9f40f266b62f74f6134a 100644
(file)
--- a/
drivers/virtio/virtio_ring.c
+++ b/
drivers/virtio/virtio_ring.c
@@
-441,7
+441,7
@@
bool virtqueue_notify(struct virtqueue *_vq)
return false;
/* Prod other side to tell it about changes. */
- if (
vq->notify(_vq) < 0
) {
+ if (
!vq->notify(_vq)
) {
vq->broken = true;
return false;
}