]> 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, 16 Dec 2011 04:50:19 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Dec 2011 07:19:41 +0000 (18:19 +1100)
commit1925ce13a1c96fe928306d2e6f26c14753aa088b
tree09e134e136af6f6d2e9b05c0a1f2982cf890d13c
parentd22d0faff9023ac46c9d875ad27303ae1cc4cf91
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