mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 00:15:01 +00:00
CODING_STYLE: Mention kernel style in introduction
Currently the coding style guide does not mention that we use kernel coding style as a base style for LXC. We have just linked to CODING_STLYE.md from CONTRIBUTING (which mentions use of kernel coding style). We can increase documentation congruence and completeness by mentioning kernel coding style guide in the introduction to our style guide. Add heading and introduction to coding style guide informing readers that we follow kernel coding style as a base before explaining our style additions. Signed-off-by: Tobin C. Harding <me@tobin.cc>
This commit is contained in:
parent
54df5d72ed
commit
183d7fa5ce
@ -1,3 +1,17 @@
|
||||
LXC Coding Style Guide
|
||||
======================
|
||||
|
||||
In general the LXC project follows the Linux kernel coding style. There are
|
||||
however are a few differences, these are outlined in this document.
|
||||
|
||||
The Linux kernel coding style guide can be found within the kernel tree:
|
||||
|
||||
Documentation/process/coding-style.rst
|
||||
|
||||
It can be accessed online too:
|
||||
|
||||
https://www.kernel.org/doc/html/latest/process/coding-style.html
|
||||
|
||||
#### General Notes
|
||||
|
||||
- The coding style guide refers to new code. But legacy code can be cleaned up
|
||||
|
Loading…
Reference in New Issue
Block a user