aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 01a65988a05..ec58d3152e7 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2916,7 +2916,7 @@ sub process {
2916 if ($dstat ne '' && 2916 if ($dstat ne '' &&
2917 $dstat !~ /^(?:$Ident|-?$Constant),$/ && # 10, // foo(), 2917 $dstat !~ /^(?:$Ident|-?$Constant),$/ && # 10, // foo(),
2918 $dstat !~ /^(?:$Ident|-?$Constant);$/ && # foo(); 2918 $dstat !~ /^(?:$Ident|-?$Constant);$/ && # foo();
2919 $dstat !~ /^(?:$Ident|-?$Constant)$/ && # 10 // foo() 2919 $dstat !~ /^[!~-]?(?:$Ident|$Constant)$/ && # 10 // foo() // !foo // ~foo // -foo
2920 $dstat !~ /^'X'$/ && # character constants 2920 $dstat !~ /^'X'$/ && # character constants
2921 $dstat !~ /$exceptions/ && 2921 $dstat !~ /$exceptions/ &&
2922 $dstat !~ /^\.$Ident\s*=/ && # .foo = 2922 $dstat !~ /^\.$Ident\s*=/ && # .foo =