Line 86:
Line 86:
---
---
Patch body here
Patch body here
+
+
== Checking patches for errors ==
+
Basic style error checking is provided by scripts/checkpatch.pl script
+
from linux kernel source tree. You might have headers or complete sources
+
of linux kernel at /usr/src/. Run
+
checkpatch.pl my_patch.patch (consider --no-tree option for headers-only)
+
It will produce detailed report on style problems in your patch.
+
Make sure to fix all _errors_(some warnings may be ignored).
+
+
To check whether your patches don't harm anything run
+
make test
+
It will launch [[ZDTM_Test_Suite]]. Check for error messages produced by it.
+
You may also want to run other tests(rpc, libcriu, security etc) from test/ dir.
== Mailing patches ==
== Mailing patches ==