commit | 43f7fe52a82ec9f7aa6420af430745111674c7b9 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Fri Feb 13 14:38:52 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Feb 13 21:21:40 2015 -0800 |
tree | 8b4693efd347c405cc2063d1fe570385f1ee57c8 | |
parent | caac1d5fddf2d55e1e1fd6d86f6fc178c801e286 [diff] |
checkpatch: improve "no space necessary after cast" test Code like: if (a < sizeof(<type>) && and { .len = sizeof(<type>) }, incorrectly emits that warning, so add more exceptions to avoid the warning. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>