diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2015-12-29 18:01:30 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-01-21 20:05:37 +0300 |
commit | 34356f64ac0df2326fa50e2d4bca6f7c03ed16c1 (patch) | |
tree | b269d5c759367823bb58685cac820f590907f22f /mm | |
parent | ad5f8e964cd0a88c746577aab2c6ea26e3b26673 (diff) | |
download | linux-34356f64ac0df2326fa50e2d4bca6f7c03ed16c1.tar.xz |
IB/mlx5: Unify CQ create flags check
The create_cq() can receive creation flags which were used
differently by two commits which added create_cq extended
command and cross-channel. The merged code caused to not
accept any flags at all.
This patch unifies the check into one function and one return
error code.
Fixes: 972ecb821379 ("IB/mlx5: Add create_cq extended command")
Fixes: 051f263098a9 ("IB/mlx5: Add driver cross-channel support")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions