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" <[email protected]> wrote: > >> On Tue, Oct 14, 2014 at 06:38:53AM -0700, Jeff Kirsher wrote: >> From: Mark Rustad <[email protected]> >> >> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

