scsi: smartpqi: Correct max LUN number
authorKevin Barnett <kevin.barnett@microchip.com>
Tue, 8 Nov 2022 19:21:48 +0000 (13:21 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 17 Nov 2022 18:10:58 +0000 (18:10 +0000)
commit7c56850637ea820a89ce2f52fca66c5ae12d0f0a
tree450fe8c99e36071620a43d3a42916ce9c96c339f
parent0b93cf2a9097b1c3d75642ef878ba87f15f03043
scsi: smartpqi: Correct max LUN number

Correct maximum LUN number for multi-actuator devices.

When multi-actuator support was added to smartpqi, the maximum number of
LUNs supported for multi-actuator devices was supposed to be changed from
unlimited to 256, but the setting was inadvertently left at unlimited.

Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/166793530842.322537.816949081443241857.stgit@brunhilda
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c