Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-17 Thread Dwaipayan Ray
On Wed, Feb 17, 2021 at 4:07 PM Joe Perches wrote: > > On Tue, 2021-02-16 at 19:48 +0530, Dwaipayan Ray wrote: > > On Sun, Feb 14, 2021 at 10:27 PM Joe Perches wrote: > > > On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > > > > Add documentation for kernel script checkpatch.pl. > > > >

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-17 Thread Joe Perches
On Tue, 2021-02-16 at 19:48 +0530, Dwaipayan Ray wrote: > On Sun, Feb 14, 2021 at 10:27 PM Joe Perches wrote: > > On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > > > Add documentation for kernel script checkpatch.pl. > > > This documentation is also parsed by checkpatch to > > > enable

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-16 Thread Dwaipayan Ray
On Sun, Feb 14, 2021 at 10:27 PM Joe Perches wrote: > > On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > > Add documentation for kernel script checkpatch.pl. > > This documentation is also parsed by checkpatch to > > enable a verbose mode. > > > > The message types in checkpatch are

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-15 Thread Matthew Wilcox
On Mon, Feb 15, 2021 at 10:11:03AM -0800, Joe Perches wrote: > On Sun, 2021-02-14 at 12:15 +, Matthew Wilcox wrote: > > On Sat, Feb 13, 2021 at 06:45:12PM +0530, Dwaipayan Ray wrote: > > > +Checkpatch (scripts/checkpatch.pl) is a perl script which checks for > > > trivial style > > > > It's

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-15 Thread Joe Perches
On Sun, 2021-02-14 at 12:15 +, Matthew Wilcox wrote: > On Sat, Feb 13, 2021 at 06:45:12PM +0530, Dwaipayan Ray wrote: > > +Checkpatch (scripts/checkpatch.pl) is a perl script which checks for > > trivial style > > It's quite amusing that this patch contains lines > 80 columns. Then you

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-15 Thread Joe Perches
On Mon, 2021-02-15 at 21:20 +0530, Dwaipayan Ray wrote: > Also someone pointed out in the list that some lines in the patch contained > > 80 > columns. Checkpatch doesn't generate any warning for that. Is it something > that > could be added to checkpatch or was it decided against at some

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-15 Thread Dwaipayan Ray
On Sun, Feb 14, 2021 at 10:27 PM Joe Perches wrote: > > On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > > Add documentation for kernel script checkpatch.pl. > > This documentation is also parsed by checkpatch to > > enable a verbose mode. > > > > The message types in checkpatch are

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-14 Thread Joe Perches
On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > Add documentation for kernel script checkpatch.pl. > This documentation is also parsed by checkpatch to > enable a verbose mode. > > The message types in checkpatch are documented with rst > field lists. A total of 33 checkpatch type

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-14 Thread Matthew Wilcox
On Sat, Feb 13, 2021 at 06:45:12PM +0530, Dwaipayan Ray wrote: > +Checkpatch (scripts/checkpatch.pl) is a perl script which checks for trivial > style It's quite amusing that this patch contains lines > 80 columns. Also patches 2 & 3 can be combined into a single patch.

[PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-13 Thread Dwaipayan Ray
Add documentation for kernel script checkpatch.pl. This documentation is also parsed by checkpatch to enable a verbose mode. The message types in checkpatch are documented with rst field lists. A total of 33 checkpatch type descriptions are added. Signed-off-by: Dwaipayan Ray ---