Messages in this thread Patch in this message | | | From | Wolfram Sang <> | Subject | [PATCH] checkpatch: print how much the 80 char limit has been exceeded | Date | Wed, 21 Mar 2012 20:03:10 +0100 |
| |
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
| |