ibv_um_open returns IB_API_STATUS, not NTSTATUS.

Signed-off-by: Sean Hefty <[email protected]>
---
I sent this before, but apparently never committed.  Just resending to note
that I'll commit it this time. :)

diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:' 
trunk\hw/mlx4/kernel/hca/vp.c
branches\winverbs\hw/mlx4/kernel/hca/vp.c
--- trunk\hw/mlx4/kernel/hca/vp.c       2008-07-16 08:54:01.984750000 -0700
+++ branches\winverbs\hw/mlx4/kernel/hca/vp.c   2009-03-23 15:53:15.484534700 
-0700
@@ -80,7 +80,7 @@ mlnx_um_open(
        }
 
        status = ibv_um_open( p_ibdev, p_umv_buf, &p_uctx );
-       if (!NT_SUCCESS(status)) {
+       if (status != IB_SUCCESS) {
                goto end;
        }
        

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to