[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090107235037.GF12402@shadowen.org>
Date: Wed, 7 Jan 2009 23:50:37 +0000
From: Andy Whitcroft <apw@...onical.com>
To: Jaswinder Singh Rajput <jaswinderlinux@...il.com>
Cc: davej@...hat.com, Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: scripts/checkpatch.pl : undefined value as an ARRAY reference
On Wed, Jan 07, 2009 at 06:57:04PM +0530, Jaswinder Singh Rajput wrote:
> On Wed, Jan 7, 2009 at 6:37 PM, Andy Whitcroft <apw@...onical.com> wrote:
> > 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.
> >
>
> ./scripts/checkpatch.pl
> 0007-x86-smp.h-move-boot_cpu_id-declartion-to-cpu.h.patch
> Can't use an undefined value as an ARRAY reference at
> ./scripts/checkpatch.pl line 453.
>
> I am attaching this file you can also save this file from LKML
Thanks thats great. I think I have this fixed in my tree now. Can you
test with the version at the url below:
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists