diff options
| author | Martin K. Petersen <[email protected]> | 2023-03-25 00:13:03 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-03-25 00:13:03 +0000 |
| commit | 62d15dba0aa4448c15da9c9443018c70fc2527b2 (patch) | |
| tree | 09817a55288ad1754dbd201488824382b9df622e /drivers/scsi/initio.c | |
| parent | Merge patch series "arcmsr fixes" (diff) | |
| parent | scsi: usb: uas: Declare two host templates and host template pointers const (diff) | |
| download | kernel-62d15dba0aa4448c15da9c9443018c70fc2527b2.tar.gz kernel-62d15dba0aa4448c15da9c9443018c70fc2527b2.zip | |
Merge patch series "Constify most SCSI host templates"
Bart Van Assche <[email protected]> says:
It helps humans and the compiler if it is made explicit that SCSI host
templates are not modified. Hence this patch series that constifies most
SCSI host templates. Please consider this patch series for the next merge
window.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/initio.c')
| -rw-r--r-- | drivers/scsi/initio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 375261d67619..2a50fda3a628 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c @@ -2788,7 +2788,7 @@ static void i91uSCBPost(u8 * host_mem, u8 * cblk_mem) initio_release_scb(host, cblk); /* Release SCB for current channel */ } -static struct scsi_host_template initio_template = { +static const struct scsi_host_template initio_template = { .proc_name = "INI9100U", .name = "Initio INI-9X00U/UW SCSI device driver", .queuecommand = i91u_queuecommand, |
