commit | ab7e23f3448e55f4808f443a7b98ded6707701bb | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu Apr 16 12:44:22 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 17 09:03:57 2015 -0400 |
tree | 7e1411de9380c8a312cd4a7c9bb6b83a89d6ceb0 | |
parent | f34e4a4f979c0d39f741bc809127fcf2167a7389 [diff] |
checkpatch: add test for repeated const uses Using 'const <type> const *' is generally meant to be written 'const <type> * const'. Add a test for the miswritten form. 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>