diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-24 06:28:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:25 +0200 |
commit | fee61c47d15270bdea699a8a3dd867f0825c3541 (patch) | |
tree | 75402264c753a2a6bf5c198922fbbf571d990423 /drivers | |
parent | checkpatch: Version: 0.20 (diff) | |
download | linux-fee61c47d15270bdea699a8a3dd867f0825c3541.tar.xz linux-fee61c47d15270bdea699a8a3dd867f0825c3541.zip |
checkpatch: return is not a function -- parentheses for casts are ok too
Casts require parentheses so it is possible to have something like this:
return (int)(*a);
This miss trips the complexity function. Ensure that the two separate
parenthesised sections are not coelesced.
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 'drivers')
0 files changed, 0 insertions, 0 deletions