public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] checkpatch: allow single space before labels
@ 2010-10-17  8:05 Mike Frysinger
  2010-10-17  8:21 ` Joe Perches
  2010-10-17 10:20 ` Peter Zijlstra
  0 siblings, 2 replies; 22+ messages in thread
From: Mike Frysinger @ 2010-10-17  8:05 UTC (permalink / raw)
  To: Andy Whitcroft; +Cc: linux-kernel

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 scripts/checkpatch.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2039acd..1d06df7 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1459,7 +1459,7 @@ sub process {
 		}
 
 # check for spaces at the beginning of a line.
-		if ($rawline =~ /^\+ / && $rawline !~ /\+ +\*/)  {
+		if ($rawline =~ /^\+ / && $rawline !~ /\+ +\*/ && $rawline !~ /:$/)  {
 			my $herevet = "$here\n" . cat_vet($rawline) . "\n";
 			WARN("please, no space for starting a line, \
 				excluding comments\n" . $herevet);
-- 
1.7.3.1


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-10-18 19:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-17  8:05 [PATCH] checkpatch: allow single space before labels Mike Frysinger
2010-10-17  8:21 ` Joe Perches
2010-10-17  8:24   ` Mike Frysinger
2010-10-17 10:21     ` Peter Zijlstra
2010-10-17 10:30       ` Mike Frysinger
2010-10-17 10:37         ` Peter Zijlstra
2010-10-17 10:52           ` Mike Frysinger
2010-10-17 16:54       ` Joe Perches
2010-10-17 19:30         ` Peter Zijlstra
2010-10-17 19:38           ` Joe Perches
2010-10-17 19:49             ` Peter Zijlstra
2010-10-17 19:49           ` Mike Frysinger
2010-10-17 20:01             ` Peter Zijlstra
2010-10-17 20:26               ` Mike Frysinger
2010-10-18 14:39                 ` Ted Ts'o
2010-10-18 14:54                   ` Ted Ts'o
2010-10-18 14:58                     ` Peter Zijlstra
2010-10-18 15:03                       ` Peter Zijlstra
2010-10-18 18:21                       ` Mike Frysinger
2010-10-18 18:32                         ` Peter Zijlstra
2010-10-18 19:09                           ` Joe Perches
2010-10-17 10:20 ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox