aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3dcfbc9c6db4..2c50eb4c4e66 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2930,6 +2930,7 @@ sub process {
2930 my $var = $1; 2930 my $var = $1;
2931 if ($var !~ /$Constant/ && 2931 if ($var !~ /$Constant/ &&
2932 $var =~ /[A-Z]\w*[a-z]|[a-z]\w*[A-Z]/ && 2932 $var =~ /[A-Z]\w*[a-z]|[a-z]\w*[A-Z]/ &&
2933 $var !~ /^Page[A-Z]/ &&
2933 !defined $camelcase{$var}) { 2934 !defined $camelcase{$var}) {
2934 $camelcase{$var} = 1; 2935 $camelcase{$var} = 1;
2935 WARN("CAMELCASE", 2936 WARN("CAMELCASE",