Return ENOSYS instead of -ENOSYS. We are not in the kernel.
diff --git a/src/verbs.c b/src/verbs.c
index 4e7beff..7fa1dbc 100644
--- a/src/verbs.c
+++ b/src/verbs.c
@@ -227,7 +227,7 @@ err:
int mlx4_resize_cq(struct ibv_cq *ibcq, int cqe)
{
/* XXX resize CQ not implemented */
- return -ENOSYS;
+ return ENOSYS;
}
int mlx4_destroy_cq(struct ibv_cq *cq)
--
Gleb.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general