[ofa-general] [PATCH] return ENOSYS instead of -ENOSYS
Gleb Natapov
glebn at voltaire.com
Wed Nov 28 07:15:07 PST 2007
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.
More information about the general
mailing list