Re: [PATCH] ata: fix AHCI_SHT() macro definition
From: Christoph Hellwig
Date: Mon Jun 15 2020 - 03:21:40 EST
On Fri, Jun 12, 2020 at 02:09:31PM +0200, Bartlomiej Zolnierkiewicz wrote:
> Fix AHCI_SHT() macro definition to not reinitialize .can_queue and
> .sdev_attrs fields.
>
> This removes gcc warnings from W=1 builds such as:
I think these warnings arg bogus, at least when used with cases like
libata that want to implement inheritance schemes. Can we get them
removed from W=1 insted if people really are about W=1 builds?