On 09/03/2023 19:24, Bart Van Assche wrote:
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@xxxxxxxxxxxxx> Reviewed-by: John Garry<john.g.garry@xxxxxxxxxx> Cc: Christoph Hellwig<hch@xxxxxx> Cc: Ming Lei<ming.lei@xxxxxxxxxx> Cc: Hannes Reinecke<hare@xxxxxxx> Cc: Mike Christie<michael.christie@xxxxxxxxxx> Signed-off-by: Bart Van Assche<bvanassche@xxxxxxx> --- drivers/scsi/hosts.c | 4 ++-- include/linux/raid_class.h | 2 +- include/scsi/libfc.h | 2 +- include/scsi/scsi_host.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-)
BTW, I don't think that it will do much harm to update the scsi_host_alloc() prototype in scsi_mid_low_api.rst - I am not sure how up-to-date that doc is....
Thanks, John