diff options
| author | Joe Perches <[email protected]> | 2017-05-08 15:55:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-05-08 17:15:11 -0700 |
| commit | e795556a581a849bf33b22521bf8ebc97ab899ea (patch) | |
| tree | 95d899c64140b8046d4dc6ffcec806e77533655d /tools/perf/scripts/python | |
| parent | d9190e4e1a057ad55027cbefd1d21f6eae93fe0e (diff) | |
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
Link: http://lkml.kernel.org/r/a9d41aafe1673889caf1a9850208fb7fd74107a0.1491783914.git.joe@perches.com
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Andreas Mohr <[email protected]>
Original-patch-by: Alfonso Lima <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions