From: Joe Perches Date: Mon, 30 Jul 2012 21:41:24 +0000 (-0700) Subject: checkpatch: add checks for do {} while (0) macro misuses X-Git-Tag: v3.6-rc1~41^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13edf7ff2dd0fef95e981170fa71fa6b60421b0;p=pandora-kernel.git checkpatch: add checks for do {} while (0) macro misuses These types of macros should not be used for either a single statement nor should the macro end with a semi-colon. Add tests for these conditions. Signed-off-by: Joe Perches Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed