projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273ab25
)
scsi: wd719x: Declare SCSI host template const
author
Bart Van Assche
<bvanassche@acm.org>
Wed, 22 Mar 2023 19:55:10 +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-76-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/wd719x.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/wd719x.c
b/drivers/scsi/wd719x.c
index ff1b2207725186fe365b33facc457bee87c667bc..5a380eecfc758481ea05f1e5e9a3e20b6eca4a13 100644
(file)
--- a/
drivers/scsi/wd719x.c
+++ b/
drivers/scsi/wd719x.c
@@
-878,7
+878,7
@@
fail_free_params:
return ret;
}
-static struct scsi_host_template wd719x_template = {
+static
const
struct scsi_host_template wd719x_template = {
.module = THIS_MODULE,
.name = "Western Digital 719x",
.cmd_size = sizeof(struct wd719x_scb),