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
This commit is contained in:
Bart Van Assche
2014-04-16 08:01:58 +00:00
parent 3f59c15917
commit 8c8c9534ee

View File

@@ -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;