]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedf: Update the max_id value in host structure
authorSaurav Kashyap <skashyap@marvell.com>
Wed, 2 Jun 2021 10:46:53 +0000 (03:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Jun 2021 01:26:24 +0000 (21:26 -0400)
commit5aa8ed3a70e6338cda0c5cee18341c66300fbc10
tree2e0a201597c8c8a0069163c080b4708161c92fc9
parent2e8bec703f6b71ca3202ce33b060b28da39e5b94
scsi: qedf: Update the max_id value in host structure

host->max_id defines the maximum target id that the SCSI midlayer will
attempt to manually scan. The default is 8. Update the value to the max
sessions the driver supports.

[mkp: applied by hand]

Link: https://lore.kernel.org/r/20210602104653.17278-1-jhasan@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c