mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] SCRIPTS: Better error message for checkpath.pl
@ 2010-02-10  0:40 Richard Hartmann
  0 siblings, 0 replies; only message in thread
From: Richard Hartmann @ 2010-02-10  0:40 UTC (permalink / raw)
  To: linux-crypto
  Cc: Richard Hartmann, Andy Whitcroft, Andrew Morton, Daniel Walker,
	linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-10  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-10  0:40 [PATCH 1/3] SCRIPTS: Better error message for checkpath.pl Richard Hartmann

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

all inboxes | Powered by JetHome®