From 8c8c9534ee73d7d4b777bb2de0fa86c37ad8a225 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 16 Apr 2014 08:01:58 +0000 Subject: [PATCH] ib_srpt: Constify two arguments of srpt_get_nexus() git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5424 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index c6f5bc275..c76d9b736 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2287,7 +2287,8 @@ static struct srpt_tgt *srpt_convert_scst_tgt(struct scst_tgt *scst_tgt) * it does not yet exist. */ static struct srpt_nexus *srpt_get_nexus(struct srpt_tgt *srpt_tgt, - u8 i_port_id[16], u8 t_port_id[16]) + const u8 i_port_id[16], + const u8 t_port_id[16]) { unsigned long flags; struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n;