[Linux-kernel-mentees] [PATCH RFC] checkpatch: improve handling of email comments

Dwaipayan Ray dwaipayanray1 at gmail.com
Fri Oct 30 08:47:26 UTC 2020


>
> By the way, I guess it is a good time to share the checkpatch.pl
> evaluation scripts with each other, compare them and settle among us
> for one common script to use.
>
> (That gives away the mentee intro coding challenge but I am sure we
> can come up with a new one...)
>
>

Sure that sounds good to me. We could even combine the scripts to
create something more efficient probably.

Here is the one I use for generating the checkpatch output data over
the supplied commits:
https://gist.github.com/raydwaipayan/57cc003e74618fe8de8917bc343fd234

(Multithreaded and semaphores to eliminate races between threads
to write to file)

For generating summary:
https://gist.github.com/raydwaipayan/9e1f340e3e892bd48a2c972f0517698d

For comparisons and individual warnings I usually rely on diff and grep.

Thanks,
Dwaipayan.


More information about the Linux-kernel-mentees mailing list