scsi: core: Declare SCSI host template pointer members const
authorBart Van Assche <bvanassche@acm.org>
Wed, 22 Mar 2023 19:53:58 +0000 (12:53 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:19:19 +0000 (19:19 -0400)
commite0d3f2c694e5db309af270a07fc570fe19902ba4
treefdb5ca2464a9b0b6d32aa5dbc075cb9a0ff24e03
parent31435de9746670d884f84a3c094a401aa27747aa
scsi: core: Declare SCSI host template pointer members const

Declare the SCSI host template pointer members const and also the remaining
SCSI host template pointers in the SCSI core.

Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-4-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/scsi/scsi_mid_low_api.rst
drivers/scsi/hosts.c
include/linux/raid_class.h
include/scsi/libfc.h
include/scsi/scsi_host.h