Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753536Ab0BJAlc (ORCPT ); Tue, 9 Feb 2010 19:41:32 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:48883 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752273Ab0BJAla (ORCPT ); Tue, 9 Feb 2010 19:41:30 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=GFzm0iit3N4mQbTNsuLv9VGIpfR1m257edEqIl1f+4anHSoVT3lk4W+uYnf9/WFrla C9SWWKTELMyyjZBJgpeM2CLOO2SR8swPwt1nFIaBTXtaJkrHg5UuDneHtz9xz4Sm4Nv7 K0c/s2ZQAuaFKNEwwb0rbx9rZNp7vz5lsAfg8= From: Richard Hartmann To: linux-crypto@vger.kernel.org Cc: Richard Hartmann , Andy Whitcroft , Andrew Morton , Daniel Walker , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] SCRIPTS: Better error message for checkpath.pl Date: Wed, 10 Feb 2010 01:40:52 +0100 Message-Id: <1265762453-21083-1-git-send-email-richih.mailinglist@gmail.com> X-Mailer: git-send-email 1.6.6.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 950 Lines: 29 If the input file for checkpatch.pl is not a patch, print an error message that suggets -f. Signed-off-by: Richard Hartmann --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/