diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-24 06:28:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:25 +0200 |
commit | c8cb2ca37ed51aa1f3b20e3eff1e72df1c400f70 (patch) | |
tree | 1855161684a9b0db3254698509b2a0dd33ed8c1c /crypto | |
parent | checkpatch: return is not a function -- parentheses for casts are ok too (diff) | |
download | linux-c8cb2ca37ed51aa1f3b20e3eff1e72df1c400f70.tar.xz linux-c8cb2ca37ed51aa1f3b20e3eff1e72df1c400f70.zip |
checkpatch: types: some types may also be identifiers
Some types such as typedefs may overlap real identifiers. Be more
targetted about when a type can really exist. Where it cannot let it be
an identifier. This prevents false reporting of the minus '-' in unary
context in the following:
foo[bar->bool - 1];
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions