Re: [PATCH] checkpatch.pl: recognize the #elif preprocessor directive

2008-01-02 Thread Andy Whitcroft
On Tue, Jan 01, 2008 at 12:12:22PM +0200, Benny Halevy wrote: > checkpatch.pl does not recognize #elif as a preprocessor directive > causing it to print bogus errors for, e.g.: > ERROR: need consistent spacing around '&' (ctx:WxV) > when the operator is not recognized as unary in this context. >

Re: [PATCH] checkpatch.pl: recognize the #elif preprocessor directive

2008-01-02 Thread Andy Whitcroft
On Tue, Jan 01, 2008 at 12:12:22PM +0200, Benny Halevy wrote: checkpatch.pl does not recognize #elif as a preprocessor directive causing it to print bogus errors for, e.g.: ERROR: need consistent spacing around '' (ctx:WxV) when the operator is not recognized as unary in this context. for

[PATCH] checkpatch.pl: recognize the #elif preprocessor directive

2008-01-01 Thread Benny Halevy
checkpatch.pl does not recognize #elif as a preprocessor directive causing it to print bogus errors for, e.g.: ERROR: need consistent spacing around '&' (ctx:WxV) when the operator is not recognized as unary in this context. for example: void foo(void) { int x, y, z; void *p[1] =

[PATCH] checkpatch.pl: recognize the #elif preprocessor directive

2008-01-01 Thread Benny Halevy
checkpatch.pl does not recognize #elif as a preprocessor directive causing it to print bogus errors for, e.g.: ERROR: need consistent spacing around '' (ctx:WxV) when the operator is not recognized as unary in this context. for example: void foo(void) { int x, y, z; void *p[1] =