Skip to content

Commit 915a3de

Browse files
committed
libzrdma: fix build error
on-behalf-of: @ZTE [email protected] Signed-off-by: zte_lifuyan <[email protected]> Signed-off-by: ztefuyan <[email protected]>
1 parent 50d48c0 commit 915a3de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

providers/zrdma/zxdh_verbs.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ static inline void zxdh_process_cqe_ext(struct zxdh_cq_poll_info *cur_cqe)
712712
if (cur_cqe->error)
713713
ibvcq_ex->status =
714714
zxdh_err_to_ib_wc_status(
715-
cur_cqe->major_err << 16 |
715+
cur_cqe->major_err << 16 |
716716
cur_cqe->minor_err);
717717
else
718718
ibvcq_ex->status = IBV_WC_SUCCESS;
@@ -738,7 +738,7 @@ static inline void zxdh_process_cqe(struct ibv_wc *entry,
738738
if (cur_cqe->error) {
739739
entry->status =
740740
zxdh_err_to_ib_wc_status(
741-
cur_cqe->major_err << 16 |
741+
cur_cqe->major_err << 16 |
742742
cur_cqe->minor_err);
743743
entry->vendor_err =
744744
cur_cqe->major_err << 16 | cur_cqe->minor_err;
@@ -1775,8 +1775,8 @@ int zxdh_umodify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask)
17751775
ret = ibv_cmd_modify_qp(qp, attr, attr_mask, &cmd, sizeof(cmd));
17761776
}
17771777

1778-
if (!ret &&
1779-
(attr_mask & IBV_QP_STATE) &&
1778+
if (!ret &&
1779+
(attr_mask & IBV_QP_STATE) &&
17801780
attr->qp_state == IBV_QPS_RESET) {
17811781
if (iwuqp->send_cq)
17821782
zxdh_clean_cqes(&iwuqp->qp, iwuqp->send_cq);

0 commit comments

Comments
 (0)