Into two weeks of the application period of Outreachy, I found out the best news.
I now have more than 150 patches accepted in the Linux Kernel. Most of them are accepted for staging drivers which have more bugs than other drivers and are in current development state.
You can see all my accepted patches here.
I’ve been working on a number of things, to maximise my learning process. Some cool things I learnt in the past two weeks is about managed resources, workqueues, how to solve smatch and sparse warnings.
I’ve also written a number of Coccinelle scripts to remove common bugs and replace deprecated/obsolete functions with their modern counterparts, which has been a great learning experience.
For people reading this, who want to get started with Linux Kernel contribution here are a couple of tips:
- Keep it simple. Send a couple of patches that you know will be easily accepted. These mostly are found using checkpatch.pl
- Take every mentor and maintainer’s advice very seriously and into consideration while sending patches. They have years of experience and know what works and what doesn’t, very well.
- Study other people’s patches before sending a patch. Try to find an accepted patch which has made the same change as you, so that you know whether you are going in the right direction and what should be written in the commit message and subject.
- Always run your patch through checkpatch.pl (This I learnt after making the mistake of not doing so a few times and Greg correctly pointing it out to me) This would help in your patch being accepted in the first version itself.
Now you can get started on sending that patch to Linux Kernel that you always wanted to, for more help see this: Submitting First Patch
I’ll keep on writing about my Linux Kernel contribution journey. Stay tuned!