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

From: Christoph Hellwig
Date: Sat Oct 18 2014 - 11:15:35 EST


On Fri, Oct 17, 2014 at 10:44:36PM +0000, Rustad, Mark D wrote:
> 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.


Oh well. I think the earlier version was slightly cleaner, but if it
helps people to catch real bugs better I'm happy to apply it.
--
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/