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

Lukas Bulwahn lukas.bulwahn at gmail.com
Sun Feb 14 16:50:19 UTC 2021


On Sun, Feb 14, 2021 at 2:03 PM Divya Goswami <divyadeepti2000 at gmail.com> wrote:
>
>
>
> On Sat, Feb 13, 2021 at 1:02 PM Lukas Bulwahn <lukas.bulwahn at gmail.com> wrote:
>>
>>
>>
>> On Sa., 13. Feb. 2021 at 00:34, Divya Goswami <divyadeepti2000 at gmail.com> wrote:
>>>
>>> Hello Lukas,
>>>                    I have been studying the checkpatch.pl script for a while now. And as the first task was assigned, I have successfully run a lot of patches through it. Most of them gave no errors/warnings. Those who did so far, have been collected (and more to be collected) on my github repo: checkpatch.pl-results
>>> Before I proceed further, I wanted to make sure whether I am uploading the files/outputs in the desired way you wanted. If the file naming or the hierarchy or anything that should be worked upon, do let me know.
>>> Till then, I continue to work on the given tasks.
>>
>>
>> All good. It could be that you observe different results when you run checkpatch in the kernel git root directory compared to the setup you have now by just copying it into a different directory.
>>
>> But the task for now is to just run it over the last release, so e.g., from v5.10 to v5.11 (which probably comes out tomorrow afternoon Pacific Time) and create statistics on these results. If you got that, we can start finetuning.
>>
>> Please continue.
>>
>> Lukas
>>
>  Hello Lukas,
> I have analyzed commits and got the lists alright. Also I have analyzed the errors and warnings generated by them.
> Please do check my repo: checkpatch.pl-results
>

Looks good. Too bad that you cannot run on a large dataset.

The next task is to look at three types of warnings you encounter and
describe the purpose of the check.

Lukas


More information about the Linux-kernel-mentees mailing list