* checkpatch.pl stalls on net/decnet/dn_fib.c
@ 2009-02-19 23:05 John Daiker
2009-02-23 14:53 ` Andy Whitcroft
0 siblings, 1 reply; 4+ messages in thread
From: John Daiker @ 2009-02-19 23:05 UTC (permalink / raw)
To: apw; +Cc: linux-kernel, daikerjohn
Andy,
Was running checkpatch.pl on the entire tree today (because my disk
loves to get thrashed like that...) Found what seems to be a stall/hang
while running checkpatch. I know nothing of the internal workings of
checkpatch.pl, but hope that you're able to sniff this one out!
./scripts/checkpatch.pl --file ./net/decnet/dn_fib.c --debug values=9
types=9 possible=9 attr=9
--snip--
51 > . #define endfor_fib_info() }
51 > EEEEEEEEEEEEEEEEEEEEEEEEENNNEE
51 > _____________________________
<E> <E> <_>WS(
)
52 > .
52 > EEE
52 > __
#define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\
<E> <E> <_>WS( )
<E> <E> <_>DEFINE(#define for_nexthops,()
<EE> <E> <N>PAREN('(')
<EEN> <N> <_>IDENT(fi)
<EEN> <V> <_>PAREN(')') -> N
<EE> <N> <_>WS( )
<EE> <N> <_>END({)
<EE> <E> <_>WS( )
<EE> <E> <_>DECLARE(int )
<EE> <T> <_>IDENT(nhsel)
<EE> <V> <_>END(;)
<EE> <E> <_>WS( )
<EE> <E> <_>DECLARE(const struct dn_fib_nh *)
<EE> <T> <_>IDENT(nh)
<EE> <V> <_>END(;)
<EE> <E> <_>PRECONT(\
)
53 > . #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\
53 > EEEEEEEEEEEEEEEEEEEEEENVVNNEETTTTVVVVVEETTTTTTTTTTTTTTTTTTTTTTTTVVEEE
53 > ____________________________________________________________________
HANGHANGHANGHANG
--snip--
Hope this helps! Let me know if I can assist in debugging at all.
Thanks,
John Daiker
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: checkpatch.pl stalls on net/decnet/dn_fib.c
2009-02-19 23:05 checkpatch.pl stalls on net/decnet/dn_fib.c John Daiker
@ 2009-02-23 14:53 ` Andy Whitcroft
2009-02-23 15:15 ` Andy Whitcroft
0 siblings, 1 reply; 4+ messages in thread
From: Andy Whitcroft @ 2009-02-23 14:53 UTC (permalink / raw)
To: John Daiker; +Cc: linux-kernel
On Thu, Feb 19, 2009 at 03:05:50PM -0800, John Daiker wrote:
> Andy,
>
> Was running checkpatch.pl on the entire tree today (because my disk
> loves to get thrashed like that...) Found what seems to be a stall/hang
> while running checkpatch. I know nothing of the internal workings of
> checkpatch.pl, but hope that you're able to sniff this one out!
>
> ./scripts/checkpatch.pl --file ./net/decnet/dn_fib.c --debug values=9
> types=9 possible=9 attr=9
Hmmm, yes thats broken indeed. Will have a look at it.
-apw
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: checkpatch.pl stalls on net/decnet/dn_fib.c
2009-02-23 14:53 ` Andy Whitcroft
@ 2009-02-23 15:15 ` Andy Whitcroft
2009-02-24 6:55 ` John Daiker
0 siblings, 1 reply; 4+ messages in thread
From: Andy Whitcroft @ 2009-02-23 15:15 UTC (permalink / raw)
To: John Daiker; +Cc: linux-kernel
On Mon, Feb 23, 2009 at 02:53:29PM +0000, Andy Whitcroft wrote:
> On Thu, Feb 19, 2009 at 03:05:50PM -0800, John Daiker wrote:
> > Andy,
> >
> > Was running checkpatch.pl on the entire tree today (because my disk
> > loves to get thrashed like that...) Found what seems to be a stall/hang
> > while running checkpatch. I know nothing of the internal workings of
> > checkpatch.pl, but hope that you're able to sniff this one out!
> >
> > ./scripts/checkpatch.pl --file ./net/decnet/dn_fib.c --debug values=9
> > types=9 possible=9 attr=9
>
> Hmmm, yes thats broken indeed. Will have a look at it.
Ok, think I have this one sorted. Could you test with the version of
checkpatch at this URL:
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
Thanks for the report.
-apw
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: checkpatch.pl stalls on net/decnet/dn_fib.c
2009-02-23 15:15 ` Andy Whitcroft
@ 2009-02-24 6:55 ` John Daiker
0 siblings, 0 replies; 4+ messages in thread
From: John Daiker @ 2009-02-24 6:55 UTC (permalink / raw)
To: Andy Whitcroft; +Cc: linux-kernel
On 02/23/2009 07:15 AM, Andy Whitcroft wrote:
> On Mon, Feb 23, 2009 at 02:53:29PM +0000, Andy Whitcroft wrote:
>
>> On Thu, Feb 19, 2009 at 03:05:50PM -0800, John Daiker wrote:
>>
>>> Andy,
>>>
>>> Was running checkpatch.pl on the entire tree today (because my disk
>>> loves to get thrashed like that...) Found what seems to be a stall/hang
>>> while running checkpatch. I know nothing of the internal workings of
>>> checkpatch.pl, but hope that you're able to sniff this one out!
>>>
>>> ./scripts/checkpatch.pl --file ./net/decnet/dn_fib.c --debug values=9
>>> types=9 possible=9 attr=9
>>>
>> Hmmm, yes thats broken indeed. Will have a look at it.
>>
>
> Ok, think I have this one sorted. Could you test with the version of
> checkpatch at this URL:
>
> http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
>
> Thanks for the report.
>
> -apw
>
Andy,
That did the trick. Thanks!
(Sorry if this was double-posted... user error the first time)
John
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-24 6:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 23:05 checkpatch.pl stalls on net/decnet/dn_fib.c John Daiker
2009-02-23 14:53 ` Andy Whitcroft
2009-02-23 15:15 ` Andy Whitcroft
2009-02-24 6:55 ` John Daiker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).