[Linux-kernel-mentees] Evaluate and Improve checkpatch

Lukas Bulwahn lukas.bulwahn at gmail.com
Fri Aug 21 07:24:58 UTC 2020



On Fri, 21 Aug 2020, Piyush Thange wrote:

> > 
> > Hints to the first task:
> > 
> > Can you create a list of all non-merge commits that were added in the
> > version v5.8 of the kernel, i.e., all non-merge commits that are in v5.8
> > and not already in v5.7?
> > 
> > Can you share the script/command you executed and the resulting list on
> > github?
> > 
> > Can you run your script on all commits of this list above and record
> > all checkpatch.pl reports, and store them in your github repository?
> > 
> > Can you suggest ideas how to aggregate the findings and create a
> > statistics? For example: Which type of error is reported most?
> > Can you implement that idea?
> > 
> > 
> > I also suggest to have a look at
> > the options ./scripts/checkpatch.pl --list-types and
> > ./scripts/checkpatch.pl --show-types. The option --show-types changes
> > the output of checkpatch.pl to list type identifiers, so it is easier
> > to parse and aggregate the output.
> > 
> > Please also share the script you create for that purpose on your
> > github repository.
> > 
> > 
> > 
> > The second task is to pick one warning that appears often and improve
> > checkpatch.pl to handle that better and get it accepted by the kernel
> > community.
> > 
> > Hints to the second task follow when the first task is solved.
> > 
> > If you fail on any of those tasks, you are out of the selection process.
> > 
> > 
> > Lukas
> > 
> 
> Hello everyone,
> As mentor Lukas Bulwahn have provided the first task 1, I've collected some
> results for the patches on kernel v5.8
> Please do check. And If any issues please respond
> 
> https://github.com/its-crypted/Evaluate-and-Improve-checkpatch.pl
> 
>

I had a look and it is a starting point of task 1.

My request below is not addressed yet:

> > Can you run your script on all commits of this list above and record
> > all checkpatch.pl reports, and store them in your github repository?
> >
> > Can you suggest ideas how to aggregate the findings and create a
> > statistics? For example: Which type of error is reported most?

Can you answer the question: Which type of error is reported most on all 
commits from v5.8?

Lukas


More information about the Linux-kernel-mentees mailing list