Re: [PATCH v2 04/82] ata: Declare SCSI host templates const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 09, 2023 at 11:24:56AM -0800, Bart Van Assche wrote:
> Make it explicit that ATA host templates are not modified.
> 
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Acked-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Cc: Ming Lei <ming.lei@xxxxxxxxxx>
> Cc: Hannes Reinecke <hare@xxxxxxx>
> Cc: John Garry <john.g.garry@xxxxxxxxxx>
> Cc: Mike Christie <michael.christie@xxxxxxxxxx>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> ---

[nip]

>  drivers/ata/ahci_dwc.c                  |  2 +-

[nip]

>  111 files changed, 129 insertions(+), 129 deletions(-)
> 

[nip]
  
> diff --git a/drivers/ata/ahci_dwc.c b/drivers/ata/ahci_dwc.c
> index 8fb66860db31..4bfbb09cdc02 100644
> --- a/drivers/ata/ahci_dwc.c
> +++ b/drivers/ata/ahci_dwc.c
> @@ -398,7 +398,7 @@ static const struct ata_port_info ahci_dwc_port_info = {
>  	.port_ops	= &ahci_dwc_port_ops,
>  };
>  
> -static struct scsi_host_template ahci_dwc_scsi_info = {
> +static const struct scsi_host_template ahci_dwc_scsi_info = {
>  	AHCI_SHT(DRV_NAME),
>  };
>  

For DWC AHCI SATA
Reviewed-by: Serge Semin <fancer.lancer@xxxxxxxxx>

-Serge(y)

[nip]




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux