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)
commit1b67f3d74e45e02e159afed6946c6e4ba11b7df6
tree2e0a201597c8c8a0069163c080b4708161c92fc9
parent62af0ee94bfb9e626ed73b5890fc68c6e1651843
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