How to propose a patch to the kernel mainline
From: Alexander Kapshuk <hidden>
Date: 2017-01-26 06:35:55
On Thu, Jan 26, 2017 at 8:33 AM, Alexander Kapshuk [off-list ref] wrote:
On Thu, Jan 26, 2017 at 3:32 AM, Abel [off-list ref] wrote:quoted
Hi! First, I apologize as I guess this topic has been treated many times here. I'm already coding for a patch intended to be merged with the kernel mainline. It adds a small new feature, so it's not a little bug fix, but still not so big deal. I'll get it compiling and working before I submit the patch to the mailing list, that's clear to me; but I'm sure there will be mistakes, stuff I didn't think/know about, some styling issues and, maybe, a technical discussion of how it should be done. What I want to ask it's what are the best steps I should walk through in order to get this patch merged. I've already done some modifications of the Linux kernel for university works, I've also contributed to other open source projects. But I've never tried to contribute to code to the upstream kernel code before. Greetings, Akronix. _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesPlease see in-tree documentation for development process found here, https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/development-process?id=refs/tags/v4.9.5. It addresses all of your queries.
Here are a few more resources to consider: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/Documentation/SubmittingPatches?id=refs/tags/v4.9.5 https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/Documentation/SubmittingDrivers?id=refs/tags/v4.9.5 https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/Documentation/CodingStyle?id=refs/tags/v4.9.5