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

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

 



On 3/4/23 09:29, Bart Van Assche wrote:
> Make it explicit that ATA host templates are not modified.
> 
> Cc: 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.garry@xxxxxxxxxx>
> Cc: Mike Christie <michael.christie@xxxxxxxxxx>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Note: please cc linux-ide for ATA patches.

I cannot take this as it causes a warning without all patches.

drivers/ata/libata-scsi.c:4198:41: error: passing argument 1 of
‘scsi_host_alloc’ discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
 4198 |                 shost = scsi_host_alloc(sht, sizeof(struct ata_port *));
      |                                         ^~~

Martin,

Can you take this one ?

Acked-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>

-- 
Damien Le Moal
Western Digital Research





[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