]> git.openfabrics.org - ~shefty/libmlx4.git/commitdiff
Return ENOSYS instead of -ENOSYS
authorGleb Natapov <glebn@voltaire.com>
Wed, 28 Nov 2007 15:15:07 +0000 (17:15 +0200)
committerRoland Dreier <rolandd@cisco.com>
Thu, 29 Nov 2007 03:43:51 +0000 (19:43 -0800)
Return ENOSYS instead of -ENOSYS from mlx4_resize_cq(), since we are
in userspace, not the kernel.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
src/verbs.c

index 4e7beffc8e250baf3deea62dc8aeebf2afd14fbd..7fa1dbc482b0741c55e7e46487dacf4c15742a0e 100644 (file)
@@ -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)