Re: [PATCH] scsi: Resolve some missing-field-initializers warnings

From: Rustad, Mark D
Date: Fri Oct 17 2014 - 18:44:41 EST


The warning appears in W=2 builds. I had another way to silence it by using diagnostic control macros, but those macros were not accepted. Using a single designated initialization also silences it.

Sent from my iPhone

> On Oct 17, 2014, at 8:26 AM, "Christoph Hellwig" <hch@xxxxxxxxxxxxx> wrote:
>
>> On Tue, Oct 14, 2014 at 06:38:53AM -0700, Jeff Kirsher wrote:
>> From: Mark Rustad <mark.d.rustad@xxxxxxxxx>
>>
>> Resolve some missing-field-initializers warnings by using
>> designated initialization.
>
> What tool is warning about these? This construct is perfectly valid C.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/