aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-03-06 10:05:33 -0800
committerPaolo Abeni <pabeni@redhat.com>2025-03-11 13:31:26 +0100
commit0ea09cbf8350b70ad44d67a1dcb379008a356034 (patch)
tree63410b74bed5c36e712a493f53b9c04515e574aa
parentMerge branch 'net-ti-icssg-prueth-add-native-mode-xdp-support' (diff)
downloadwireguard-linux-0ea09cbf8350b70ad44d67a1dcb379008a356034.tar.xz
wireguard-linux-0ea09cbf8350b70ad44d67a1dcb379008a356034.zip
docs: netdev: add a note on selftest posting
We haven't had much discussion on the list about this, but a handful of people have been confused about rules on posting selftests for fixes, lately. I tend to post fixes with their respective selftests in the same series. There are tradeoffs around size of the net tree and conflicts but so far it hasn't been a major issue. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Acked-by: Cong Wang <xiyou.wangcong@gmail.com> Link: https://patch.msgid.link/20250306180533.1864075-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--Documentation/process/maintainer-netdev.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/process/maintainer-netdev.rst b/Documentation/process/maintainer-netdev.rst
index e497729525d5..1ac62dc3a66f 100644
--- a/Documentation/process/maintainer-netdev.rst
+++ b/Documentation/process/maintainer-netdev.rst
@@ -311,6 +311,14 @@ to the mailing list, e.g.::
Posting as one thread is discouraged because it confuses patchwork
(as of patchwork 2.2.2).
+Co-posting selftests
+--------------------
+
+Selftests should be part of the same series as the code changes.
+Specifically for fixes both code change and related test should go into
+the same tree (the tests may lack a Fixes tag, which is expected).
+Mixing code changes and test changes in a single commit is discouraged.
+
Preparing changes
-----------------