mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
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 <herbszt@gmx.de>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user