public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@canonical.com>
To: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>
Cc: davej@redhat.com, Ingo Molnar <mingo@elte.hu>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: scripts/checkpatch.pl : undefined value as an ARRAY reference
Date: Wed, 7 Jan 2009 23:50:37 +0000	[thread overview]
Message-ID: <20090107235037.GF12402@shadowen.org> (raw)
In-Reply-To: <3f9a31f40901070527y31fcccc9n5b3d52faa58e359e@mail.gmail.com>

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@canonical.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

  reply	other threads:[~2009-01-07 23:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-07 12:54 scripts/checkpatch.pl : undefined value as an ARRAY reference Jaswinder Singh Rajput
2009-01-07 13:04 ` Ingo Molnar
2009-01-07 13:34   ` Jaswinder Singh Rajput
2009-01-07 13:07 ` Andy Whitcroft
2009-01-07 13:27   ` Jaswinder Singh Rajput
2009-01-07 23:50     ` Andy Whitcroft [this message]
2009-01-08  4:40       ` Jaswinder Singh Rajput
2009-01-08 14:54         ` Ingo Molnar
2009-01-08 16:25           ` Andy Whitcroft

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090107235037.GF12402@shadowen.org \
    --to=apw@canonical.com \
    --cc=akpm@linux-foundation.org \
    --cc=davej@redhat.com \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox