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

2014-10-23 Thread Christoph Hellwig
Thanks, applied to the core-for-3.19 branch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2014-10-18 Thread Christoph Hellwig
On Fri, Oct 17, 2014 at 10:44:36PM +, 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 earli

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

2014-10-17 Thread Rustad, Mark D
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" wrote: > >> On Tue, Oct

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

2014-10-17 Thread Christoph Hellwig
On Tue, Oct 14, 2014 at 06:38:53AM -0700, Jeff Kirsher wrote: > From: Mark Rustad > > 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 "un

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

2014-10-14 Thread Jeff Kirsher
From: Mark Rustad Resolve some missing-field-initializers warnings by using designated initialization. Signed-off-by: Mark Rustad Signed-off-by: Jeff Kirsher --- drivers/scsi/scsi_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/