On 3/6/23 06:29, John Garry wrote:
You wrote that most pointers were now cast as const - which ones where not? From a quick scan they all seem to be const
Hi Garry,Some SCSI drivers modify one of more members of the SCSI host template. An example can be found in drivers/scsi/pcmcia/nsp_cs.c:
sht->name = data->nspinfo; Another example from drivers/scsi/bnx2fc/bnx2fc_fcoe.c: bnx2fc_shost_template.can_queue = hba->max_outstanding_cmds; Thanks, Bart.