How to submit a patch to linux-nvme
Keith Busch
kbusch at kernel.org
Wed Apr 14 20:56:24 BST 2021
On Wed, Apr 14, 2021 at 07:16:42PM +0000, Belanger, Martin wrote:
> I would like to add a new functionality to the linux-nvme driver. I read the "submitting-patches" document (https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html), but I have a few questions.
>
> The document recommends asking maintainers which tree to use. The file "linux/MAINTAINERS" shows that the tree "git://git.infradead.org/nvme.git" exists. Is that what I should use to make my changes or should I use the mainline tree "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"?
As long as your patch series is isolated to the nvme subsystem, you
should develop nvme patches against the nvme tree,
git.infradead.org/nvme.git, with the branch that targets the desired
kernel release.
Our branch naming convention is 'nvme-X.Y', where X.Y represent the
targeted kernel version (currently nvme-5.13).
New features should always be based on the newest kernel release target.
Bug fixes may target the current RC kernel if we're outside the merge
window.
The 'master' branch is not our development branch, so don't use that for
anything.
> It is my understanding that patches should be submitted to this email list. Is that the only thing I need to do, or should I also submit a pull request?
Don't send pull requests please. Just email the patches. There are
various tools that can facilitate the process, but 'git format-patch'
and 'git send-email' will ensure patches are sent correctly for mailing
list consumption.
More information about the Linux-nvme
mailing list