From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759991AbXJMMzQ (ORCPT ); Sat, 13 Oct 2007 08:55:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754155AbXJMMzE (ORCPT ); Sat, 13 Oct 2007 08:55:04 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:48207 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753950AbXJMMzC (ORCPT ); Sat, 13 Oct 2007 08:55:02 -0400 Date: Sat, 13 Oct 2007 14:55:01 +0200 (CEST) From: Jan Engelhardt To: Adrian Bunk cc: Geert Uytterhoeven , Andy Whitcroft , Randy Dunlap , Joel Schopp , Linux Kernel Development , Matthew Wilcox Subject: Re: checkpatch: ERROR: Does not appear to be a unified-diff format patch In-Reply-To: <20071013124733.GA4211@stusta.de> Message-ID: References: <20071013124733.GA4211@stusta.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Oct 13 2007 14:47, Adrian Bunk wrote: >On Sat, Oct 13, 2007 at 02:28:00PM +0200, Geert Uytterhoeven wrote: >> scripts/checkpatch.pl doesn't seem to like this patch: >> >> $ scripts/checkpatch.pl m68k-export-asm-cachectl-h.diff >> ERROR: Does not appear to be a unified-diff format patch >>... >> --- a/include/asm-m68k/Kbuild >> +++ b/include/asm-m68k/Kbuild >> @@ -1 +1,2 @@ >>... ^^ > >Broken patch, this has to be "-1,1". No, this is actually how diff outputs it. /([-+]\d+)\b/ seems to imply /$1,1/