From f3c85b8b334357b07faa15c536baad65089d0f72 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Thu, 15 Jan 2009 13:51:05 -0800 Subject: [PATCH] --- yaml --- r: 129678 b: refs/heads/master c: f9a0b3d17a01fe1ba24ce1e9c18666a52052e011 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e67c8121e134..3f87c7f01444 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a27506459c5e6ccc8437fca0adb6d3759c883c28 +refs/heads/master: f9a0b3d17a01fe1ba24ce1e9c18666a52052e011 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index eefef65fa584..1d7924ad3a34 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -1665,7 +1665,7 @@ sub process { # Should not end with a space. $to =~ s/\s+$//; # '*'s should not have spaces between. - while ($to =~ s/(.)\s\*/$1\*/) { + while ($to =~ s/\*\s+\*/\*\*/) { } #print "from<$from> to<$to>\n"; @@ -1680,7 +1680,7 @@ sub process { # Should not end with a space. $to =~ s/\s+$//; # '*'s should not have spaces between. - while ($to =~ s/(.)\s\*/$1\*/) { + while ($to =~ s/\*\s+\*/\*\*/) { } # Modifiers should have spaces. $to =~ s/(\b$Modifier$)/$1 /;