diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-07-31 14:54:24 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-07-31 14:54:24 +0100 |
commit | 6a0440391da7a99ffab94ccc66264af9b5f3ce34 (patch) | |
tree | 1c7cf4f07b08c4965ab19819ebce367be16fb980 /Documentation/CodingConventions | |
parent | 5f2e2384443a09e3f1fec71940e9e32b70789102 (diff) |
New upstream release.
Diffstat (limited to 'Documentation/CodingConventions')
-rw-r--r-- | Documentation/CodingConventions | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/CodingConventions b/Documentation/CodingConventions new file mode 100644 index 00000000..cee90b30 --- /dev/null +++ b/Documentation/CodingConventions @@ -0,0 +1,19 @@ +C style +------- + +The kernel CodingStyle where applicable + +https://www.kernel.org/doc/html/latest/process/coding-style.html + +Error messages +-------------- + +* formatting: + * use `error("string ...")` + * no trailing newline + * small letter starts the first word + * no string splitting + * move string to new line if it's too long, un-indent to the left if it + exceeds 80 chars +* contents: + * be descriptive |