crypto: ixp4xx - Fix kernel compile error
[firefly-linux-kernel-4.4.55.git] / drivers / virtio / virtio_ring.c
index f47777582ce51c7ee05b5d8624754653c18e3222..28b5338fff715141572b9f40f266b62f74f6134a 100644 (file)
@@ -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;
        }