[SLOF] [PATCH v2 02/19] fix code style in byteorder.h
Alexey Kardashevskiy
aik at ozlabs.ru
Fri Jan 22 14:47:14 AEDT 2016
On 01/20/2016 11:32 PM, Thomas Huth wrote:
> Maybe we should also introduce a proper CODING_STYLE document for SLOF
> that mandates how format functions? (pointing to the Linux kernel coding
> style document for C code should likely be enough, but some coding style
> for Forth code would be good, too)
Like this?
[vpl2 slof]$ git diff
diff --git a/README b/README
index 7895045..d5b758d 100644
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ Index
2.4 Extending the Forth engine
3.0 Limitations
4.0 Submitting patches
-
+5.0 Coding style
1.0 Introduction to Slimline Open Firmware
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -247,6 +247,14 @@ confirm that you certify the Developer Certificate of
Origin Version 1.1,
see [3] for details.
+5.0 Coding style
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+New C code submitted to SLOF should follow the coding style guidelines
+for the Linux kernel [4].
+New forth code should use 3 space intents and no tabs.
+
+
Documentation
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -258,3 +266,6 @@ Documentation
[3] Developer Certificate of Origin Version 1.1
http://developercertificate.org/
+
+[4] Linux kernel coding style
+ https://github.com/torvalds/linux/blob/master/Documentation/CodingStyle
--
Alexey
More information about the SLOF
mailing list