[ofw] [PATCH] mlx4: fix status checkmlx4: fix status check
Sean Hefty
sean.hefty at intel.com
Fri Apr 17 11:14:29 PDT 2009
ibv_um_open returns IB_API_STATUS, not NTSTATUS.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
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;
}
More information about the ofw
mailing list