doc: development-process: add notice on testing

Add testing notice to "Before creating patches" section.

Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Dmitry Antipov <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Message-ID: <[email protected]>
This commit is contained in:
Dmitry Antipov authored and Jonathan Corbet committed 2026-02-02 10:02:05 -07:00
1 parent 64e4882c82
commit 0a83293322
1 file changed
+6 -1
+6 -1
View File
@@ -40,7 +40,12 @@ sending patches to the development community. These include:
- Test the code to the extent that you can. Make use of the kernel's
debugging tools, ensure that the kernel will build with all reasonable
combinations of configuration options, use cross-compilers to build for
different architectures, etc.
different architectures, etc. Add tests, likely using an existing
testing framework like KUnit, and include them as a separate member
of your series (see the next section for more about patch series).
Note that this may be mandatory when affecting some subsystems. For
example, library functions (resides under lib/) are extensively used
almost everywhere and expected to be tested appropriately.
- Make sure your code is compliant with the kernel coding style
guidelines.