IB/srp: Constify a function argument
authorBart Van Assche <[email protected]>
Fri, 31 Jul 2015 21:12:48 +0000 (14:12 -0700)
committerDoug Ledford <[email protected]>
Sun, 30 Aug 2015 22:12:23 +0000 (18:12 -0400)
This patch does not change any functionality.

Signed-off-by: Bart Van Assche <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Sebastian Parschauer <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/srp/ib_srp.c

index 43265608361e04a63e5acb408aa94a4f4c1cc19e..a0b92a1ee4185fc2d6dbaf0f8ff839f9edd1ca82 100644 (file)
@@ -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;