]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
docs: netdev: refine the clean-up patch examples
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 16:52:42 +0000 (09:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Aug 2025 00:39:32 +0000 (17:39 -0700)
We discourage sending trivial patches to clean up checkpatch warnings.
There are other tools which lead to patches of similarly low value
like some coccicheck warnings. The warnings are useful for new code
but fixing them in the existing code base is a waste of review time.

Broaden the example given in the doc a little bit.

Link: https://patch.msgid.link/20250815165242.124240-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/process/maintainer-netdev.rst

index e1755610b4bca69e11682cf3c8cd2d5dba951fda..989192421cc9db6c93c816f2dfb7afbe48dd25fc 100644 (file)
@@ -407,7 +407,7 @@ Clean-up patches
 Netdev discourages patches which perform simple clean-ups, which are not in
 the context of other work. For example:
 
-* Addressing ``checkpatch.pl`` warnings
+* Addressing ``checkpatch.pl``, and other trivial coding style warnings
 * Addressing :ref:`Local variable ordering<rcs>` issues
 * Conversions to device-managed APIs (``devm_`` helpers)