Re: [PATCH 6/6] scsi: isci: Use LIBSAS_SHT_BASE

From: Jason Yan
Date: Tue Mar 05 2024 - 08:54:38 EST


On 2024/3/5 21:27, John Garry wrote:
On 05/03/2024 13:21, Jason Yan wrote:
      .sg_tablesize            = SG_ALL,
-    .max_sectors            = SCSI_DEFAULT_MAX_SECTORS,

.max_sectors is not defined in LIBSAS_SHT_BASE.

Sure, but when not set, scsi_host_alloc() will default to SCSI_DEFAULT_MAX_SECTORS automatically

OK, so it's fine to let it uninitialized.

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>


Thanks,
John
.