summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-07-31 14:12:48 -0700
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:23 -0400
commite6300cbd9b09e7bf12f5f7b79e77b58d62b9d990 (patch)
treee26a89b72a1ab120b2d4068398926c97a495dadb /drivers/infiniband/ulp
parent799cdaf8a98f13d4fba3162e21e1e63f21045010 (diff)
downloadtalos-op-linux-e6300cbd9b09e7bf12f5f7b79e77b58d62b9d990.tar.gz
talos-op-linux-e6300cbd9b09e7bf12f5f7b79e77b58d62b9d990.zip
IB/srp: Constify a function argument
This patch does not change any functionality. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Sagi Grimberg <sagig@mellanox.com> Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 43265608361e..a0b92a1ee418 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -2172,7 +2172,7 @@ static uint32_t srp_compute_rq_tmo(struct ib_qp_attr *qp_attr, int attr_mask)
}
static void srp_cm_rep_handler(struct ib_cm_id *cm_id,
- struct srp_login_rsp *lrsp,
+ const struct srp_login_rsp *lrsp,
struct srp_rdma_ch *ch)
{
struct srp_target_port *target = ch->target;
OpenPOWER on IntegriCloud