linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Anyone have ideas for checkpatch improvements ?
@ 2021-01-25  1:55 Joe Perches
  2021-01-25  1:59 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2021-01-25  1:55 UTC (permalink / raw)
  To: LKML; +Cc: Dwaipayan Ray, Lukas Bulwahn, Andy Whitcroft




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

* Re: Anyone have ideas for checkpatch improvements ?
  2021-01-25  1:55 Anyone have ideas for checkpatch improvements ? Joe Perches
@ 2021-01-25  1:59 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2021-01-25  1:59 UTC (permalink / raw)
  To: LKML; +Cc: Dwaipayan Ray, Lukas Bulwahn, Andy Whitcroft

One of the linux-mentees, Dwaipayan Ray, asked me in a private
email for ideas for improvements to checkpatch.

Though I am not his nominal mentor, my response to him was the below.

Does anyone have any more ideas for checkpatch improvements or
enhancements?

---

On Fri, 2021-01-15 at 21:02 +0530, Dwaipayan Ray wrote:
> I am actually writing to you
> regarding any possible ideas for checkpatch or any improvements
> you would like to see moving forward with checkpatch.
> 
> The last time you had suggested about --fix options. But as we saw
> that maybe some places are better off with it. So do you have
> anything particular in mind?
> 
> Again, thanks a lot in advance. Since my mentorship will go on till
> about march, I am indeed in dire need of ideas.

You could:

o Separate the various tests into individual modules that are aggregated
  at startup.

o Create a test suite.

o Externally document the thing with use cases, all the named tests
  are not particularly documented.

o Add --verbose test descriptions, so 'why this message is emitted'
  description is optionally available to / understood by the user.

o Add support for various brace location / required spacing styles.




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

end of thread, other threads:[~2021-01-25  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25  1:55 Anyone have ideas for checkpatch improvements ? Joe Perches
2021-01-25  1:59 ` Joe Perches

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).