From f5cf65dcc6dfc494c4652d323e7e104a135d29b5 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 28 Nov 2007 17:15:07 +0200 Subject: [PATCH] Return ENOSYS instead of -ENOSYS Return ENOSYS instead of -ENOSYS from mlx4_resize_cq(), since we are in userspace, not the kernel. Signed-off-by: Roland Dreier --- src/verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.46.0