diff options
author | Andy Whitcroft <apw@canonical.com> | 2010-10-26 23:23:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 01:52:20 +0200 |
commit | 0c73b4eb7a825a5aff16d8a9701f6c28056de058 (patch) | |
tree | bbc5cec929a9406ad53c6d5df36c980259e60546 /usr | |
parent | checkpatch: add check for space after struct, union, and enum (diff) | |
download | linux-0c73b4eb7a825a5aff16d8a9701f6c28056de058.tar.xz linux-0c73b4eb7a825a5aff16d8a9701f6c28056de058.zip |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions