public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] checkpatch.pl: remove the 80 charactes punch card limit
@ 2010-01-27 13:09 Stefani Seibold
  2010-01-27 18:07 ` Joel Schopp
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Stefani Seibold @ 2010-01-27 13:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, apw, jschopp, davej

The time of 80 characters punch card and terminals are over, so i would
be a good thing to set the line length limit to 120. Every display today
should be able handle this. 
  
Signed-off-by: Stefani Seibold <stefani@seibold.net>
---
 checkpatch.pl |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.33-rc2.orig/scripts/checkpatch.pl	2009-12-03 04:51:21.000000000 +0100
+++ linux-2.6.33-rc2.new/scripts/checkpatch.pl	2010-01-06 17:46:40.057565661 +0100
@@ -1374,13 +1374,13 @@ sub process {
 # check we are in a valid source file if not then ignore this hunk
 		next if ($realfile !~ /\.(h|c|s|S|pl|sh)$/);
 
-#80 column limit
+#120 column limit
 		if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ &&
 		    $rawline !~ /^.\s*\*\s*\@$Ident\s/ &&
 		    $line !~ /^\+\s*printk\s*\(\s*(?:KERN_\S+\s*)?"[X\t]*"\s*(?:,|\)\s*;)\s*$/ &&
-		    $length > 80)
+		    $length > 120)
 		{
-			WARN("line over 80 characters\n" . $herecurr);
+			WARN("line over 120 characters\n" . $herecurr);
 		}
 
 # check for adding lines without a newline.






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

end of thread, other threads:[~2010-02-01 11:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 13:09 [PATCH] checkpatch.pl: remove the 80 charactes punch card limit Stefani Seibold
2010-01-27 18:07 ` Joel Schopp
2010-01-27 19:01   ` David Daney
2010-01-27 20:31     ` Joel Schopp
2010-01-27 20:42       ` David Daney
2010-01-27 21:36       ` Stefani Seibold
2010-01-28 15:54 ` Andi Kleen
2010-01-28 16:39   ` Alexander Clouter
2010-01-29  5:19     ` tytso
2010-01-29 18:49       ` Joe Perches
2010-02-01 10:53     ` Simon Farnsworth
2010-01-28 17:58   ` David Daney
2010-01-28 16:01 ` Krzysztof Halasa

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