lkml.org 
[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] checkpatch: print how much the 80 char limit has been exceeded
Date
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
scripts/checkpatch.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a3b9782..1874197 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1734,7 +1734,7 @@ sub process {
$length > 80)
{
WARN("LONG_LINE",
- "line over 80 characters\n" . $herecurr);
+ "line over 80 characters, namely $length\n" . $herecurr);
}

# check for spaces before a quoted newline
--
1.7.2.5


\
 
 \ /
  Last update: 2012-03-21 20:05    [W:0.020 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site