Re: [PATCH 01/20] ata: ahci_dm816: Ignore -Woverride-init

From: Lee Jones
Date: Thu Jan 28 2021 - 13:31:24 EST


On Thu, 28 Jan 2021, Christoph Hellwig wrote:

> On Thu, Jan 28, 2021 at 06:02:20PM +0000, Lee Jones wrote:
> > Some ATA drivers use the SCSI host template, a series of interwoven
> > macros, to aid with initialisation. Some of these macros conflict,
> > resulting in the over-writing of previously set values.
>
> Please just disable this warning globally. This is a sensible
> patter and we should not sprinkle per-file options for something
> that fundamental.

Will do. Just as soon as I've figured out how. :)

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog