From: Bart Van Assche Date: Fri, 31 Jul 2015 21:12:48 +0000 (-0700) Subject: IB/srp: Constify a function argument X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e6300cbd9b09e7bf12f5f7b79e77b58d62b9d990;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git IB/srp: Constify a function argument This patch does not change any functionality. Signed-off-by: Bart Van Assche Cc: Sagi Grimberg Cc: Sebastian Parschauer Cc: Christoph Hellwig Signed-off-by: Doug Ledford --- 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;