]> 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>
Wed, 21 Dec 2011 06:01:27 +0000 (17:01 +1100)
commit77daac1e4773aa8808a1f694cbae0f318fa559af
treec51468c811ba1cab1dd58a2b5f8adaed955bc5bf
parentc3208d81835add1a1ecf32e6cea7f168e6a89013
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