Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756304AbZAGNHx (ORCPT ); Wed, 7 Jan 2009 08:07:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751002AbZAGNHp (ORCPT ); Wed, 7 Jan 2009 08:07:45 -0500 Received: from adelie.canonical.com ([91.189.90.139]:53227 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbZAGNHo (ORCPT ); Wed, 7 Jan 2009 08:07:44 -0500 Date: Wed, 7 Jan 2009 13:07:42 +0000 From: Andy Whitcroft To: Jaswinder Singh Rajput Cc: davej@redhat.com, Ingo Molnar , LKML Subject: Re: scripts/checkpatch.pl : undefined value as an ARRAY reference Message-ID: <20090107130742.GD2520@shadowen.org> References: <3f9a31f40901070454x678f75d2xee2a6de04a940321@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f9a31f40901070454x678f75d2xee2a6de04a940321@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 23 On Wed, Jan 07, 2009 at 06:24:55PM +0530, Jaswinder Singh Rajput wrote: > Hello Andy, > > On -tip git I am getting this error: > > $ ./scripts/checkpatch.pl 000* > Can't use an undefined value as an ARRAY reference at > ./scripts/checkpatch.pl line 451. > > But earlier it was working great. Is this a feature or a bug. That looks wrong indeed. Assuming that is the same version I have here then that is a bug in the #else preprocessor handling. Could you send me the specific patch which is throwing this error. Thanks. -apw -- 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/