diff options
author | Joe Perches <joe@perches.com> | 2020-08-11 18:35:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-12 10:58:00 -0700 |
commit | 1a3dcf2e6b35faa1176b9cd8200094fbce16ba19 (patch) | |
tree | 04a237a630e0ad526c6d825c2c0b06b628d019de /lib/bcd.c | |
parent | ced69da1db0b57bbb10054bd74201babc094f408 (diff) | |
download | linux-1a3dcf2e6b35faa1176b9cd8200094fbce16ba19.tar.bz2 |
checkpatch: add test for repeated words
Try to avoid adding repeated words either on the same line or consecutive
comment lines in a block
e.g.:
duplicated word in comment block
/*
* this is a comment block where the last word of the previous
* previous line is also the first word of the next line
*/
and simple duplication
/* test this this again */
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/cda9b566ad67976e1acd62b053de50ee44a57250.camel@perches.com
Inspired-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions