lkml.org 
[lkml]   [2010]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] SCRIPTS: Better error message for checkpath.pl
Date
If the input file for checkpatch.pl is not a patch, print an error message
that suggets -f.

Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
---
scripts/checkpatch.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3257d3d..d5405aa 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2693,7 +2693,7 @@ sub process {
}

if (!$is_patch) {
- ERROR("Does not appear to be a unified-diff format patch\n");
+ ERROR("Does not appear to be a unified-diff format patch. Add -f?\n");
}
if ($is_patch && $chk_signoff && $signoff == 0) {
ERROR("Missing Signed-off-by: line(s)\n");
--
1.6.6.1


\
 
 \ /
  Last update: 2010-02-10 01:43    [W:0.048 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site