summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-11-12 15:10:06 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 12:09:24 +0900
commitd8b077101bcfbd36701c18bfda04fd74648d5d35 (patch)
treed7ed8875a42cfb1fa7c90ab98f18314c90fb111a /net
parent847316231c2f89918a2872e3d5fa3f5de11c39b6 (diff)
downloadlinux-stable-d8b077101bcfbd36701c18bfda04fd74648d5d35.tar.gz
linux-stable-d8b077101bcfbd36701c18bfda04fd74648d5d35.tar.bz2
linux-stable-d8b077101bcfbd36701c18bfda04fd74648d5d35.zip
checkpatch: extend CamelCase types and ignore existing CamelCase uses in a patch
Extend the CamelCase words found to include structure members. In https://lkml.org/lkml/2013/9/3/318 Sarah Sharp (mostly) wrote: "In general, if checkpatch.pl complains about a variable a patch introduces that's CamelCase, you should pay attention to it. Otherwise, [] ignore it." So, if checking a patch, scan the original patched file if it's available and add any preexisting CamelCase types so reuses do not generate CamelCase messages. That also means Andrew's not so cruelly spurned anymore. https://lkml.org/lkml/2013/2/22/426 Signed-off-by: Joe Perches <joe@perches.com> Suggested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions