diff options
Diffstat (limited to 'drivers/infiniband/hw/ocrdma')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index 50219ab2279d..56bf32fcb62c 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |||
@@ -1783,7 +1783,7 @@ static int ocrdma_set_create_qp_sq_cmd(struct ocrdma_create_qp_req *cmd, | |||
1783 | u32 max_sges = attrs->cap.max_send_sge; | 1783 | u32 max_sges = attrs->cap.max_send_sge; |
1784 | 1784 | ||
1785 | /* QP1 may exceed 127 */ | 1785 | /* QP1 may exceed 127 */ |
1786 | max_wqe_allocated = min_t(int, attrs->cap.max_send_wr + 1, | 1786 | max_wqe_allocated = min_t(u32, attrs->cap.max_send_wr + 1, |
1787 | dev->attr.max_wqe); | 1787 | dev->attr.max_wqe); |
1788 | 1788 | ||
1789 | status = ocrdma_build_q_conf(&max_wqe_allocated, | 1789 | status = ocrdma_build_q_conf(&max_wqe_allocated, |