]> 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>
Tue, 6 Dec 2011 04:05:34 +0000 (15:05 +1100)
commitd138f87a940176986a50b7ef0908b0b54392e7a2
treeae9ae970ef7b77cf9b008da9c58aff3c71239cd6
parente76ea92c0c6bb1344bc3f51a5c26d4912b92b7b2
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