Re: [PATCH 2/2] checkpatch: Improve MULTISTATEMENT_MACRO_USE_DO_WHILE test
On Sun, 2017-04-09 at 10:45 -0700, Joe Perches wrote: > checkpatch Sorry, ignore this.
[PATCH 2/2] checkpatch: Improve MULTISTATEMENT_MACRO_USE_DO_WHILE test
The logic currrently misses macros that start with an if statement. e.g.:#define foo(bar) if (bar) baz; Add a test for macro content that starts with if Original-patch-by: Alfonso Lima Reported-by: Andreas Mohr Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 746