[Linux-kernel-mentees] Linux Kernel: Evaluate and Improve checkpatch.pl

Alaa Emad alaaemadhossney.ae at gmail.com
Wed Sep 9 14:06:52 UTC 2020


On Wed, Sep 9, 2020, 3:19 PM Lukas Bulwahn <lukas.bulwahn at gmail.com> wrote:

>
>
> On Wed, 9 Sep 2020, Alaa Emad wrote:
>
> > Hello Lukas Bulwahn,
> > i hope this email finds you well , i applied for  Linux Kernel: Evaluate
> and Improve checkpatch.pl
> >
> > according to the first two tasks, i am unemployed how should i respond
> to these?
> >
>
> I do not know which list of tasks you are referring to. So, I cannot
> comment on the first two tasks.
>

   1.Participation permission from school or employer.
    2.School Enrollment Verification.

>
> > also are there any resources to run and patch the checkpatch.pl ,
> Please?
> >
>
> Here is some starting information:
>
> The zeroth task is to learn suitable netiquette for the communication with
> the kernel community.
>
> First, please do not top-post.
>
>     A: Because we read from top to bottom, left to right.
>     Q: Why should I start my reply below the quoted text?
>
>     A: Because it messes up the order in which people normally read text.
>     Q: Why is top-posting such a bad thing?
>
>     A: The lost context.
>     Q: What makes top-posted replies harder to read than bottom-posted?
>
>     A: Yes.
>     Q: Should I trim down the quoted part of an email to which I'm
> replying?
>
> I understood.
>

Second, please always CC: linux-kernel-mentees at lists.linuxfoundation.org.
>

    done

>
> Third, set up your email client according to the kernel community rules.
>
>
>
> Then, the first task is to run checkpatch.pl on a few kernel patches and
> collect the results. When you have that, please share your script with
> me, e.g., in a github repository.
>
>
> 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.
>
> I could implement that with just a few lines of code changes, but please
> do not underestimate the learning curve here. I hope you are very fit in
> Perl, that is required for this project.
>
> The selection of the mentee will happen at the end of this month.
>
> So, the first task should be done within this first week, so that you
> have time for changing checkpatch.pl, testing and discussing the
> change
>
>
> Thank you for your hints,  i will do check these points and return back to
> you


    Alaa

Lukas
>
> > Thanks in advance ,
> > Alaa Emad
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/linux-kernel-mentees/attachments/20200909/5b5a673b/attachment-0001.html>


More information about the Linux-kernel-mentees mailing list