All of lore.kernel.org
 help / color / mirror / Atom feed
* scripts/checkpatch.pl in 2.4 git
@ 2009-01-03 13:34 Jaswinder Singh Rajput
  2009-01-03 13:45 ` Willy Tarreau
  0 siblings, 1 reply; 4+ messages in thread
From: Jaswinder Singh Rajput @ 2009-01-03 13:34 UTC (permalink / raw)
  To: Willy Tarreau, davej, jschopp, apw, LKML

Hello Willy,

Do you have any plans to add scripts/checkpatch.pl in 2.4 git.

Currently, what is the procedure to check patch for 2.4 git.

Thank you,
JSR

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scripts/checkpatch.pl in 2.4 git
  2009-01-03 13:34 scripts/checkpatch.pl in 2.4 git Jaswinder Singh Rajput
@ 2009-01-03 13:45 ` Willy Tarreau
  2009-01-03 14:24   ` Jaswinder Singh Rajput
  0 siblings, 1 reply; 4+ messages in thread
From: Willy Tarreau @ 2009-01-03 13:45 UTC (permalink / raw)
  To: Jaswinder Singh Rajput; +Cc: davej, jschopp, apw, LKML

On Sat, Jan 03, 2009 at 07:04:57PM +0530, Jaswinder Singh Rajput wrote:
> Hello Willy,
> 
> Do you have any plans to add scripts/checkpatch.pl in 2.4 git.

Not particularly planned, though I have nothing against including it if
some people want to use it.

> Currently, what is the procedure to check patch for 2.4 git.

Nowadays, 2.4 patches are so small that one's eyes are enough to check
for correctness ;-)

And sometimes if the patch is not correct, I do fix it myself while merging it.

Regards,
Willy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scripts/checkpatch.pl in 2.4 git
  2009-01-03 13:45 ` Willy Tarreau
@ 2009-01-03 14:24   ` Jaswinder Singh Rajput
  2009-01-03 14:50     ` Willy Tarreau
  0 siblings, 1 reply; 4+ messages in thread
From: Jaswinder Singh Rajput @ 2009-01-03 14:24 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: davej, jschopp, apw, LKML

On Sat, Jan 3, 2009 at 7:15 PM, Willy Tarreau <w@1wt.eu> wrote:
> On Sat, Jan 03, 2009 at 07:04:57PM +0530, Jaswinder Singh Rajput wrote:
>> Hello Willy,
>>
>> Do you have any plans to add scripts/checkpatch.pl in 2.4 git.
>
> Not particularly planned, though I have nothing against including it if
> some people want to use it.
>

Please add it. At least I can use it :-)

>> Currently, what is the procedure to check patch for 2.4 git.
>
> Nowadays, 2.4 patches are so small that one's eyes are enough to check
> for correctness ;-)
>

I ran 2.6 checkpatch.pl on some files and found lot of style problems
like white spaces and indent.
After fixing these problems code will be more read-able.
I have plan to fix these problems on some important files. What you
think about this.

Thank you,
JSR

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scripts/checkpatch.pl in 2.4 git
  2009-01-03 14:24   ` Jaswinder Singh Rajput
@ 2009-01-03 14:50     ` Willy Tarreau
  0 siblings, 0 replies; 4+ messages in thread
From: Willy Tarreau @ 2009-01-03 14:50 UTC (permalink / raw)
  To: Jaswinder Singh Rajput; +Cc: davej, jschopp, apw, LKML

On Sat, Jan 03, 2009 at 07:54:34PM +0530, Jaswinder Singh Rajput wrote:
> On Sat, Jan 3, 2009 at 7:15 PM, Willy Tarreau <w@1wt.eu> wrote:
> > On Sat, Jan 03, 2009 at 07:04:57PM +0530, Jaswinder Singh Rajput wrote:
> >> Hello Willy,
> >>
> >> Do you have any plans to add scripts/checkpatch.pl in 2.4 git.
> >
> > Not particularly planned, though I have nothing against including it if
> > some people want to use it.
> >
> 
> Please add it. At least I can use it :-)

OK will do.

> >> Currently, what is the procedure to check patch for 2.4 git.
> >
> > Nowadays, 2.4 patches are so small that one's eyes are enough to check
> > for correctness ;-)
> >
> 
> I ran 2.6 checkpatch.pl on some files and found lot of style problems
> like white spaces and indent.
> After fixing these problems code will be more read-able.
> I have plan to fix these problems on some important files. What you
> think about this.

I don't want to merge pure code cleanup patches, because :
  1) it brings no added value to the final user
  2) there's always a risk of regression

The only exception I accept to make is when I resync a file with 2.6 in
order to ease future patches.

However, I welcome cleanups which come with other changes/fixes, provided
they're not too invasive.

Regards,
Willy


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-03 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03 13:34 scripts/checkpatch.pl in 2.4 git Jaswinder Singh Rajput
2009-01-03 13:45 ` Willy Tarreau
2009-01-03 14:24   ` Jaswinder Singh Rajput
2009-01-03 14:50     ` Willy Tarreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.