We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf656b0 commit 1a93e84Copy full SHA for 1a93e84
drivers/infiniband/hw/qedr/qedr.h
@@ -617,18 +617,18 @@ static inline bool qedr_qp_has_srq(struct qedr_qp *qp)
617
static inline bool qedr_qp_has_sq(struct qedr_qp *qp)
618
{
619
if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT)
620
- return 0;
+ return false;
621
622
- return 1;
+ return true;
623
}
624
625
static inline bool qedr_qp_has_rq(struct qedr_qp *qp)
626
627
if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI ||
628
qp->qp_type == IB_QPT_XRC_TGT || qedr_qp_has_srq(qp))
629
630
631
632
633
634
static inline struct qedr_user_mmap_entry *
0 commit comments