summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-07-31 01:41:24 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 04:25:17 +0400
commitb13edf7ff2dd0fef95e981170fa71fa6b60421b0 (patch)
treecdfbfb5429b089d1e41f9551bf112a8236fae078 /lib
parent66c80b6077256898df948ac6acf547b47ddb1fcf (diff)
downloadlinux-b13edf7ff2dd0fef95e981170fa71fa6b60421b0.tar.xz
checkpatch: add checks for do {} while (0) macro misuses
These types of macros should not be used for either a single statement nor should the macro end with a semi-colon. Add tests for these conditions. Signed-off-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions