commit | 0776e594606e32a045e0a99bb919b2280b945495 | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@shadowen.org> | Wed Oct 15 22:02:29 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:36 2008 -0700 |
tree | da5cb9f363484fcf343c72b7b48ada5191b97cf0 | |
parent | 5fdd23acf9cd7f658746b119436ed1d787326c46 [diff] |
checkpatch: do is not a possible type A do without braces '{' may trigger a false possible type 'do' and then this may be interpreted as an external definition of foo(): do foo(); while (bar); Add do to the type exclusions. Fix up tests so we can check for them. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>