Skip to content

Commit

Permalink
scst_local: Declare SCSI host template const
Browse files Browse the repository at this point in the history
Make it explicit that the SCSI host template is not modified.
  • Loading branch information
lnocturno committed Apr 28, 2023
1 parent c0aea55 commit 33dedb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scst_local/scst_local.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ static struct scst_tgt_template scst_local_targ_tmpl = {
#endif
};

static struct scsi_host_template scst_lcl_ini_driver_template = {
static const struct scsi_host_template scst_lcl_ini_driver_template = {
.name = SCST_LOCAL_NAME,
.queuecommand = scst_local_queuecommand,
.change_queue_depth = scst_local_change_queue_depth,
Expand Down

0 comments on commit 33dedb2

Please sign in to comment.