[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1332356590-8218-1-git-send-email-w.sang@pengutronix.de>
Date: Wed, 21 Mar 2012 20:03:10 +0100
From: Wolfram Sang <w.sang@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: Andy Whitcroft <apw@...onical.com>,
Wolfram Sang <w.sang@...gutronix.de>
Subject: [PATCH] checkpatch: print how much the 80 char limit has been exceeded
Signed-off-by: Wolfram Sang <w.sang@...gutronix.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists