commit | 0c73b4eb7a825a5aff16d8a9701f6c28056de058 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Tue Oct 26 14:23:15 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:20 2010 -0700 |
tree | bbc5cec929a9406ad53c6d5df36c980259e60546 | |
parent | 8cf6de7145943caa38c56c61cd83b17687afd900 [diff] |
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 <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>