projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dce26
)
scsi: initio: Declare SCSI host template const
author
Bart Van Assche
<bvanassche@acm.org>
Wed, 22 Mar 2023 19:54:41 +0000
(12:54 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:19:56 +0000
(19:19 -0400)
Make it explicit that the SCSI host template is not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link:
https://lore.kernel.org/r/20230322195515.1267197-47-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/initio.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/initio.c
b/drivers/scsi/initio.c
index 375261d6761971f46b0db5f7696564d9ba110be2..2a50fda3a628c3fdc9daa79d73437de565bc5891 100644
(file)
--- 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,