diff options
author | Joe Perches <joe@perches.com> | 2013-07-04 00:05:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:45 +0200 |
commit | 23f780c90496eb1cc158e862e7035c8468dfa052 (patch) | |
tree | 568616787bf5f25ad3bc5da9520ed321e5b02383 /scripts/get_maintainer.pl | |
parent | checkpatch: add a --strict test for comparison to true/false (diff) | |
download | linux-23f780c90496eb1cc158e862e7035c8468dfa052.tar.xz linux-23f780c90496eb1cc158e862e7035c8468dfa052.zip |
checkpatch: improve "no space after cast" test
Some false positives exist on this test.
For instance:
*va_arg(args, signed char *) = val.s;
or
memset(foo, 0, sizeof(struct bar *) * baz));
Ignore lines that have an arithmetic operator or assignment
after what appears to be a cast to a pointer "(foo *)".
Add $Arithmetic convenience variable.
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>
Diffstat (limited to 'scripts/get_maintainer.pl')
0 files changed, 0 insertions, 0 deletions