The Linux kernel is a free and open-source, monolithic, Unix-like operating system kernel.
Showing 4 of 4 projects. Click any project card for scope, mentors, and proposal studio.
Mentors: Student: LFX Mentee
Develop and maintain Advanced Linux Sound Architecture (ALSA) drivers for next-generation audio chipsets. (LFX Mentorship)
The project’s goal is to evaluate results from checkpatch.pl, aggregate its findings and improve checkpatch.pl based on the evaluation. The checkpatch.pl script detects various coding style issues and checks for various stylistic conventions on commit messages and supporting information, e.g., consistent records of MAINTAINERS, license information, proper file permissions, etc. However, an earlier investigation on checkpatch.pl has shown that many patches in the kernel repository are accepted, even though checkpatch.pl reports findings on them. Some of those checkpatch.pl errors and warnings are “false positives”. The work in this project shall be driven by a continuous, highly iterative cycle of evaluation on large sets of commits and patches, machine-assisted aggregation and clustering to identify specific community-local conventions, and adjustment and configuration of the checkpatch.pl script. The repeated evaluation will prioritize the specific changes to checkpatch.pl.
Coccicheck is a Linux kernel target that makes it easy to run a number of Coccinelle bug finding scripts on the Linux kernel source code. While make coccicheck has provide useful, it has some aspects that are not so user friendly. Also the Coccinelle scripts it runs could use some refreshing. This project will address these issues. The project will consist of three parts: 1. Improve make coccicheck to make it more user friendly. Issues to address include error reporting and the control of parallelism. 2. Test the Coccinelle scripts found in the Linux kernel and determine whether they are ok as is, whether they should be improved, or whether they should be removed. 3. Improve Coccinelle so that it can take a patch or commit id as input and only report on results that relate to that patch or commit id. The goal would be not to simply suppress irrelevant results, but to actually focus Coccinelle's effort on the changed code, to reduce the running time. All projects to which contributions will be made in this internship are GPLv2 and contributions require signing the Developer's Certificate of Origin (DCO).
Jonathan Corbet identified in his article MAINTAINERS truth and fiction [https://lwn.net/Articles/842415/] that about 2,800 files in the kernel repository have no dedicated maintainer in the MAINTAINERS file (see https://lwn.net/Articles/842606/ for the full list of files). Jonathan Corbet sets out the call for action: “the vast majority are header files under include/, most of which probably do have maintainers and should be added to the appropriate entries.” The task in this mentorship is to follow this call for action and add the header files under include/ to the appropriate entries.