aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c')
-rw-r--r--sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
index 0d35759e4b71..64f42ed8d569 100644
--- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
+++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c
@@ -69,7 +69,7 @@ sdp_post_send(struct sdp_sock *ssk, struct mbuf *mb)
struct sdp_bsdh *h;
unsigned long mseq;
struct ib_device *dev;
- struct ib_send_wr *bad_wr;
+ const struct ib_send_wr *bad_wr;
struct ib_sge ibsge[SDP_MAX_SEND_SGES];
struct ib_sge *sge;
struct ib_send_wr tx_wr = { NULL };
@@ -390,7 +390,8 @@ void
sdp_post_keepalive(struct sdp_sock *ssk)
{
int rc;
- struct ib_send_wr wr, *bad_wr;
+ struct ib_send_wr wr;
+ const struct ib_send_wr *bad_wr;
sdp_dbg(ssk->socket, "%s\n", __func__);