Re: [PATCH v2 03/82] scsi: core: Declare SCSI host template pointer members const

John Garry
2023-03-10T09:28:18Z

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@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>
> ---
> 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