From: Andy Whitcroft Date: Tue, 26 Oct 2010 21:23:15 +0000 (-0700) Subject: checkpatch: simplify and consolidate "missing space after" checks X-Git-Tag: v2.6.37-rc1~105^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c73b4eb7a825a5aff16d8a9701f6c28056de058;p=pandora-kernel.git checkpatch: simplify and consolidate "missing space after" checks Commonise the code for missing spaces after struct, union, and enum such that they share the same code. Ensure we cover all the common cases in each case. Check against the sanitised line to ensure we do not report on comments and strings. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed