From e803c79e83d898f4a1cc2a6d53674e6eaa371318 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Fri, 23 Mar 2012 15:02:18 -0700 Subject: [PATCH] --- yaml --- r: 295210 b: refs/heads/master c: fd1b57ac73f169a5ba7a9569989aad40184f6340 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7cefc35ae9da..6812d3c9dbf0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e45bab8ebfee65ba89b228c1e7c64a6cb0812124 +refs/heads/master: fd1b57ac73f169a5ba7a9569989aad40184f6340 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 01a65988a057..ec58d3152e71 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -2916,7 +2916,7 @@ sub process { if ($dstat ne '' && $dstat !~ /^(?:$Ident|-?$Constant),$/ && # 10, // foo(), $dstat !~ /^(?:$Ident|-?$Constant);$/ && # foo(); - $dstat !~ /^(?:$Ident|-?$Constant)$/ && # 10 // foo() + $dstat !~ /^[!~-]?(?:$Ident|$Constant)$/ && # 10 // foo() // !foo // ~foo // -foo $dstat !~ /^'X'$/ && # character constants $dstat !~ /$exceptions/ && $dstat !~ /^\.$Ident\s*=/ && # .foo =