diff options
author | Joe Perches | 2014-08-07 01:10:50 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-08-07 03:01:28 +0200 |
commit | 1574a29f8e769998fe3e55eb6030dc61e3d09ccd (patch) | |
tree | 4826d2385418e45f61a6d2003097697f63352a27 /firmware/advansys | |
parent | checkpatch: warn on unnecessary parentheses around references of foo->bar (diff) | |
download | kernel-qcow2-linux-1574a29f8e769998fe3e55eb6030dc61e3d09ccd.tar.gz kernel-qcow2-linux-1574a29f8e769998fe3e55eb6030dc61e3d09ccd.tar.xz kernel-qcow2-linux-1574a29f8e769998fe3e55eb6030dc61e3d09ccd.zip |
checkpatch: allow multiple const * types
checkpatch's $Type variable does not match declarations of multiple
const * types.
This can produce false positives for things like:
$ ./scripts/checkpatch.pl -f drivers/staging/comedi/comedidev.h
WARNING: Missing a blank line after declarations
#60: FILE: drivers/staging/comedi/comedidev.h:60:
+ const struct comedi_lrange *range_table;
+ const struct comedi_lrange *const *range_table_list;
Fix the $Type variable to support matching multiple "* const" uses.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Hartley Sweeten <HartleyS@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/advansys')
0 files changed, 0 insertions, 0 deletions