[Linux-kernel-mentees] Checkpatch.pl tasks for Community Bridge Program

Lukas Bulwahn lukas.bulwahn at gmail.com
Mon Oct 12 12:57:33 UTC 2020


On Mon, Oct 12, 2020 at 11:38 AM Aditya Srivastava <yashsri421 at gmail.com> wrote:
>
> Dear Sir/Ma'am
> I have performed some tasks on Checkpatch.pl to find out the aggregate and summary of Errors and Warnings that have been generated on certain Linux Kernel Versions' commits . The summary of my tasks are as follows:
> 1. Task1: Create a list of all non-merge commits that were added in the version v5.8 but were not there in v5.7. Run checkpatch.pl script on these commits and create a statistical summary of findings.
> My findings: https://github.com/AdityaSrivast/kernel-tasks/blob/master/Task1/reports/aggregate_report/analysis/summary.txt
> My Scripts for this task: https://github.com/AdityaSrivast/kernel-tasks/tree/master/Task1
>
> 2. Task2: Test what are errors and warnings by checkpatch.pl reports on v5.6..v5.8. Generate a report with respect to changes suggested by Dwaipayan Ray (https://lore.kernel.org/linux-kernel-mentees/20201007192029.551744-1-dwaipayanray1@gmail.com/), to present the differences in a suitable aggregated form, to find out the kind of errors and warnings that are changing.
>
> My Findings:
> Change in the number of warnings and errors: https://github.com/AdityaSrivast/kernel-tasks/blob/master/Task2/reports/analysis/relative_change/summary_relative.txt
>
> Individual summary report generated by checkpatch.pl:
> After the commit: https://github.com/AdityaSrivast/kernel-tasks/blob/master/Task2/reports/analysis/after_commit/summary_after_commit.txt
>
> Before the commit: https://github.com/AdityaSrivast/kernel-tasks/blob/master/Task2/reports/analysis/before_commit/summary_before_commit.txt
>
> Scripts used for this task: https://github.com/AdityaSrivast/kernel-tasks/tree/master/Task2
>

Your email client is broken; you cannot send emails to a kernel
mailing list with this email setup. I will not bother to use a proper
email client either :)

summary at

https://github.com/AdityaSrivast/kernel-tasks/blob/master/Task2/reports/analysis/relative_change/summary_relative.txt

looks good.

Dwaipayan probably needs to look into the details here.

E.g., why did those really unrelated issues change?

AVOID_BUG 240 239
TYPO_SPELLING 536 537

Let us see if we can make sense of this evaluation.

Lukas


More information about the Linux-kernel-mentees mailing list