commit | 39667782362becd5527e48d6c976a9f9985b95e6 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@canonical.com> | Thu Jan 15 13:51:06 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 15 16:39:38 2009 -0800 |
tree | 43fbe3e89848a863a857018d8e9e33ce07759bb8 | |
parent | 63f17f8973ccdb8260e59ce5b1b4e2b2ee0401f0 [diff] |
checkpatch: if should not continue a preceeding brace We should not be continuing a braced section with an if, for example: if (...) { } if (...) { } Detect this and suggest adding a newline. 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>