]> 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>
Fri, 2 Dec 2011 03:15:43 +0000 (14:15 +1100)
commitf7a1840d86b57855ad2f770ad209698f4179ffcb
tree5423408380fec99b1c87de2abeb38d442127fd68
parent575dededc252520eceb56b9fccb3401b751e3ee4
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