From: Leon Romanovsky <leo...@mellanox.com> The create_cq() can receive creation flags which were used differently by two following commits [1] and [2]. The current code caused to not accept any flags at all.
We can skip referencing the linux-rdma mailing list.
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") [1] http://www.spinics.net/lists/linux-rdma/msg31430.html [2] http://www.spinics.net/lists/linux-rdma/msg31658.html Changes from v0: * Add Fixes tag
Umm, the above ([1], [2], Changes) usually go under the "---" separator so we won't see them in git log forever.
Signed-off-by: Leon Romanovsky <leo...@mellanox.com> --- drivers/infiniband/hw/mlx5/cq.c | 9 +-------- drivers/infiniband/hw/mlx5/mlx5_ib.h | 3 ++- 2 files changed, 3 insertions(+), 9 deletions(-)
-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html