projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7a141
)
scsi: sgiwd93: Declare SCSI host template const
author
Bart Van Assche
<bvanassche@acm.org>
Wed, 22 Mar 2023 19:55:04 +0000
(12:55 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:19:59 +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-70-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sgiwd93.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sgiwd93.c
b/drivers/scsi/sgiwd93.c
index 57d5dff62f6364692c96c1e88605eb9dc7e3ed4d..88e2b5eb9caafa36800a057aa875ba327544ba6b 100644
(file)
--- a/
drivers/scsi/sgiwd93.c
+++ b/
drivers/scsi/sgiwd93.c
@@
-204,7
+204,7
@@
static inline void init_hpc_chain(struct ip22_hostdata *hdata)
* arguments not with pointers. So this is going to blow up beautyfully
* on 64-bit systems with memory outside the compat address spaces.
*/
-static struct scsi_host_template sgiwd93_template = {
+static
const
struct scsi_host_template sgiwd93_template = {
.module = THIS_MODULE,
.proc_name = "SGIWD93",
.name = "SGI WD93",