btrfs-progs: convert: add missing newlines for printfs
[btrfs-progs-unstable/devel.git] / Documentation / CodingConventions
blobcee90b300ede93a7f240b934cf2f835f2158ac7e
1 C style
2 -------
4 The kernel CodingStyle where applicable
6 https://www.kernel.org/doc/html/latest/process/coding-style.html
8 Error messages
9 --------------
11 * formatting:
12   * use `error("string ...")`
13   * no trailing newline
14   * small letter starts the first word
15   * no string splitting
16   * move string to new line if it's too long, un-indent to the left if it
17     exceeds 80 chars
18 * contents:
19   * be descriptive