diff options
author | Gleb Natapov <glebn@voltaire.com> | 2007-11-28 17:15:07 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-11-28 19:43:51 -0800 |
commit | f5cf65dcc6dfc494c4652d323e7e104a135d29b5 (patch) | |
tree | 3d6a353790b479bf743f8e8822d799f0b245696e | |
parent | b844d345c2f90fa3ef49907f922bd4b5ea6c8995 (diff) | |
download | libmlx4-f5cf65dcc6dfc494c4652d323e7e104a135d29b5.tar.gz |
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 <rolandd@cisco.com>
-rw-r--r-- | src/verbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |