]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch: complex macro should allow the empty do while loop
authorAndy Whitcroft <apw@canonical.com>
Thu, 8 Dec 2011 04:42:24 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Dec 2011 07:35:22 +0000 (18:35 +1100)
commit87bc01713aaf188d879425d578ad3b6d779e55db
tree4ce8d89d52ea1dd7d705ba3babebd47b7b8e1766
parent38fcc611022e11f217afdd5684a16e756b70cf6e
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