]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: complex macro should allow the empty do while loop
authorAndy Whitcroft <apw@canonical.com>
Fri, 2 Dec 2011 03:12:45 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Dec 2011 04:19:28 +0000 (15:19 +1100)
commita62aec6c096fa44f021d55c9a264ce5ba9181023
treeacade9be2368e69e3ac843ac31d1b0b9a2bd9860
parentff9cecaa9b96ed26a3418817744f1b3fa11361e2
checkpatch: complex macro should allow the empty do while loop

It is common to stub out a function as below, this is triggering a complex
macro format incorrectly.  Sort this out:

    #define cma_early_regions_reserve(reserve)   do { } while (0)

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl