<div dir="ltr"><div dir="auto"><div dir="auto">Respected mentor,</div><div dir="auto"><br></div>Thanks for sharing the important information and task with me.<br>I'll get back with the solution as soon as possible.</div><div dir="auto"><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Jul 2021, 02:38 Dwaipayan Ray, <<a href="mailto:dwaipayanray1@gmail.com" target="_blank">dwaipayanray1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jul 22, 2021 at 2:24 AM Chaytanya Sinha <<a href="mailto:chaytanyas4@gmail.com" rel="noreferrer" target="_blank">chaytanyas4@gmail.com</a>> wrote:<br>
><br>
> Respected Mentor,<br>
><br>
> I am interested in the Checkpatch Documentation mentorship program and I would like to work on the tasks for the mentee selection.<br>
><br>
> I will try my best to complete the tasks as soon as possible.<br>
><br>
> Regards<br>
<br>
Thanks for your interest in working with the checkpatch documentation.<br>
<br>
The zeroth task is to learn suitable netiquette for the communication with<br>
the kernel community. Below are some basic rules and pointers for this<br>
mentorship. More information on kernel netiquette is also at<br>
<a href="https://people.kernel.org/tglx/notes-about-netiquette" rel="noreferrer noreferrer" target="_blank">https://people.kernel.org/tglx/notes-about-netiquette</a>.<br>
<br>
First, please do not top-post.<br>
<br>
    A: Because we read from top to bottom, left to right.<br>
    Q: Why should I start my reply below the quoted text?<br>
<br>
    A: Because it messes up the order in which people normally read text.<br>
    Q: Why is top-posting such a bad thing?<br>
<br>
    A: The lost context.<br>
    Q: What makes top-posted replies harder to read than bottom-posted?<br>
<br>
    A: Yes.<br>
    Q: Should I trim down the quoted part of an email to which I'm replying?<br>
<br>
Second, please always CC: <a href="mailto:linux-kernel-mentees@lists.linuxfoundation.org" rel="noreferrer" target="_blank">linux-kernel-mentees@lists.linuxfoundation.org</a>.<br>
<br>
Third, set up your email client according to the kernel community<br>
rules. Here is some information to that:<br>
<br>
<a href="https://www.kernel.org/doc/html/latest/process/submitting-patches.html#no-mime-no-links-no-compression-no-attachments-just-plain-text" rel="noreferrer noreferrer" target="_blank">https://www.kernel.org/doc/html/latest/process/submitting-patches.html#no-mime-no-links-no-compression-no-attachments-just-plain-text</a><br>
<a href="https://www.kernel.org/doc/html/latest/process/email-clients.html" rel="noreferrer noreferrer" target="_blank">https://www.kernel.org/doc/html/latest/process/email-clients.html</a><br>
<br>
Generally more information on submitting patches and responding on<br>
replies is at <a href="https://www.kernel.org/doc/html/latest/process/submitting-patches.html" rel="noreferrer noreferrer" target="_blank">https://www.kernel.org/doc/html/latest/process/submitting-patches.html</a><br>
<br>
Once the zeroth task is understood, you can now move on to the first<br>
task: Running checkpatch on a specific file.<br>
<br>
Get a clone of the Linux kernel repository.<br>
The script <a href="http://checkpatch.pl" rel="noreferrer noreferrer" target="_blank">checkpatch.pl</a> is under the scripts directory.<br>
<br>
Then, the first task is to run <a href="http://checkpatch.pl" rel="noreferrer noreferrer" target="_blank">checkpatch.pl</a> on a few files below<br>
and share the results:<br>
<br>
drivers/crypto/ux500/hash/hash_core.c<br>
drivers/crypto/ux500/cryp/cryp_core.c<br>
<br>
Which information on these rules that checkpatch warns about<br>
is available in the Checkpatch Documentation?<br>
<br>
If documentation of these rules is available, explain your<br>
understanding of the rules in your own words.<br>
If no information is available in the documentation,<br>
explain your understanding of the rule.<br>
<br>
In any case, explain the violation that is checked and raised in the<br>
checkpatch script, i.e., what is implemented in checkpatch to check<br>
the rule and possible violations. Which code in the checkpatch script<br>
is raising the warning? What does it check and how is that<br>
implemented?<br>
<br>
Explain how to possibly fix this code with regards to that violation.<br>
<br>
Once you succeed on this first task, we inform you about the further<br>
second and third task. If you fail on any of those tasks, you are out<br>
of the selection process.<br>
<br>
The selection of the mentee will happen according to schedule,<br>
at earliest on August 12th and at latest at the end of August.<br>
More information is available at<br>
<a href="https://docs.linuxfoundation.org/lfx/mentorship/mentorship-program-timelines" rel="noreferrer noreferrer" target="_blank">https://docs.linuxfoundation.org/lfx/mentorship/mentorship-program-timelines</a>.<br>
<br>
Dwaipayan.<br>
</blockquote></div>