diff options
author | Joe Perches <joe@perches.com> | 2017-05-09 00:55:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 02:15:11 +0200 |
commit | e795556a581a849bf33b22521bf8ebc97ab899ea (patch) | |
tree | 95d899c64140b8046d4dc6ffcec806e77533655d /net/bluetooth/hci_debugfs.h | |
parent | checkpatch: avoid suggesting struct definitions should be const (diff) | |
download | linux-e795556a581a849bf33b22521bf8ebc97ab899ea.tar.xz linux-e795556a581a849bf33b22521bf8ebc97ab899ea.zip |
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 <joe@perches.com>
Reported-by: Andreas Mohr <andi@lisas.de>
Original-patch-by: Alfonso Lima <alfonsolimaastor@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/bluetooth/hci_debugfs.h')
0 files changed, 0 insertions, 0 deletions