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

Aditya Srivastava yashsri421 at gmail.com
Mon Oct 12 21:11:16 UTC 2020


On Mon 12 Oct, 2020, 11:58 PM Lukas Bulwahn, <lukas.bulwahn at gmail.com>
wrote:

> On Mon, Oct 12, 2020 at 8:23 PM Dwaipayan Ray <dwaipayanray1 at gmail.com>
> wrote:
> >
> >
> > On 12/10/20 6:27 pm, Lukas Bulwahn wrote:
> > > 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
> >
> > Ya, this shouldn't happen.
> >
> > I checked the reports, and the new warnings appear as expected.
> >
> > Could Aditya perhaps find out which errors in this case have changed?
> >
>
> Dwaipayan, you can ask Aditya directly :)
>
> Aditya, can you help us and tell us which AVOID_BUG remained the same,
> which appeared, and which disappeared?
>
> And the same for TYPO_SPELLING.
>
> Lukas
>

Sure thing sir. But currently I can't access these files as my laptop's
hardware is broken. I'll get it repaired tomorrow morning  and will be on
it by the evening.
Really sorry for the inconvenience caused.

Aditya

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20201013/c23f0077/attachment.html>


More information about the Linux-kernel-mentees mailing list