From: Gleb C. <lna...@ya...> - 2023-04-28 12:24:35
|
Commit: 33dedb2 GitHub URL: https://github.com/SCST-project/scst/commit/33dedb2946140b28b422372796e5fa429f34e2b3 Author: Gleb Chesnokov Date: 2023-04-28T15:22:58+03:00 Log Message: ----------- scst_local: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Modified Paths: -------------- scst_local/scst_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) =================================================================== diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index bffe255..7577b98 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -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, |