From 173fdd5f20ef65669250f26f0764d0ec0fc8b3a6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 9 Sep 2014 11:27:27 +0000 Subject: [PATCH] scst_local: Set max_id to 1 The value 0 is not valid for the max_id member of struct Scsi_Host. Signed-off-by: Sebastian Herbszt git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5786 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index d79b67fae..771532619 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1677,7 +1677,7 @@ static int scst_local_driver_probe(struct device *dev) sess->shost = hpnt; - hpnt->max_id = 0; /* Don't want more than one id */ + hpnt->max_id = 1; /* Don't want more than one id */ hpnt->max_lun = SCST_MAX_LUN; /*