repository: C:/dev/kvm-guest-drivers-windows
branch: master
commit 3f938d806abf9aa3c8fe9e3dd825cdd6b5332301
Author: Yan Vugenfirer <[email protected]>
Date:   Wed Nov 25 13:35:11 2009 +0200

    [WIN-GUEST_DRIVERS]
    viostor driver. small fix in startio routine (storport related path).
    
         Signed-off-by: Vadim Rozenfeld<[email protected]>

diff --git a/viostor/virtio_stor_hw_helper.c b/viostor/virtio_stor_hw_helper.c
index 21d27cd..1a6e75e 100644
--- a/viostor/virtio_stor_hw_helper.c
+++ b/viostor/virtio_stor_hw_helper.c
@@ -27,7 +27,7 @@ SynchronizedAccessRoutine(
     if (adaptExt->pci_vq_info.vq->vq_ops->add_buf(adaptExt->pci_vq_info.vq,
                      &srbExt->vbr.sg[0],
                      srbExt->out, srbExt->in,
-                     &srbExt->vbr) == 0){
+                     &srbExt->vbr) >= 0){
         InsertTailList(&adaptExt->list_head, &srbExt->vbr.list_entry);
         adaptExt->pci_vq_info.vq->vq_ops->kick(adaptExt->pci_vq_info.vq);
         return TRUE;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to