Re: [PATCH] checkpatch: avoid false positive closing bracket with initializers

2017-10-23 Thread Joe Perches
On Mon, 2017-10-23 at 06:06 -0700, Carlo Marcelo Arenas Belón wrote: > when multiple closing brackets are being used for an universal zero > intializer as in (for example): > > struct timespec tv[10] = {{0}}; No objection. > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -4

[PATCH] checkpatch: avoid false positive closing bracket with initializers

2017-10-23 Thread Carlo Marcelo Arenas Belón
when multiple closing brackets are being used for an universal zero intializer as in (for example): struct timespec tv[10] = {{0}}; Signed-off-by: Carlo Marcelo Arenas Belón --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/s