How to propose a patch to the kernel mainline

Alexander Kapshuk alexander.kapshuk at gmail.com
Thu Jan 26 01:35:55 EST 2017


On Thu, Jan 26, 2017 at 8:33 AM, Alexander Kapshuk
<alexander.kapshuk at gmail.com> wrote:
> On Thu, Jan 26, 2017 at 3:32 AM, Abel <akronix5 at gmail.com> wrote:
>> 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/kernelnewbies
>>
>
> Please 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



More information about the Kernelnewbies mailing list