summaryrefslogtreecommitdiffstats
path: root/Documentation/vm/hugetlbpage.txt
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-08-22 01:15:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-08-22 01:45:02 +0200
commitac8e97f8a742828daa1d9de37f6e635888f8d71e (patch)
treed2eae9170d79c302d99c0d7a27da134060fde69e /Documentation/vm/hugetlbpage.txt
parentmm: hugetlbfs: correctly populate shared pmd (diff)
downloadlinux-ac8e97f8a742828daa1d9de37f6e635888f8d71e.tar.xz
linux-ac8e97f8a742828daa1d9de37f6e635888f8d71e.zip
checkpatch: add control statement test to SINGLE_STATEMENT_DO_WHILE_MACRO
Commit b13edf7ff2dd ("checkpatch: add checks for do {} while (0) macro misuses") added a test that is overly simplistic for single statement macros. Macros that start with control tests should be enclosed in a do {} while (0) loop. Add the necessary control tests to the check. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Andy Whitcroft <apw@canonical.com> Tested-by: Franz Schrober <franzschrober@yahoo.de> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/vm/hugetlbpage.txt')
0 files changed, 0 insertions, 0 deletions