Skip to content

Commit 0ea09cb

Browse files
kuba-mooPaolo Abeni
authored andcommitted
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>
1 parent 6d99faf commit 0ea09cb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/process/maintainer-netdev.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,14 @@ to the mailing list, e.g.::
311311
Posting as one thread is discouraged because it confuses patchwork
312312
(as of patchwork 2.2.2).
313313

314+
Co-posting selftests
315+
--------------------
316+
317+
Selftests should be part of the same series as the code changes.
318+
Specifically for fixes both code change and related test should go into
319+
the same tree (the tests may lack a Fixes tag, which is expected).
320+
Mixing code changes and test changes in a single commit is discouraged.
321+
314322
Preparing changes
315323
-----------------
316324

0 commit comments

Comments
 (0)