summaryrefslogtreecommitdiff
path: root/Documentation/translations/zh_CN/process/4.Coding.rst
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2019-04-01 22:45:04 +0800
committerJonathan Corbet <corbet@lwn.net>2019-04-02 09:53:57 -0600
commit8cd43e35f345cb889ab94ed2fef524ce9bc947a5 (patch)
tree37bebdca222076c90da4385bc810fef2aeff1b38 /Documentation/translations/zh_CN/process/4.Coding.rst
parentefd298e4afddbb52228ca5c1633e53c984cc785b (diff)
docs/zh_CN: redirect coding-sytle to Chinese version
It's time to link the doc into Chinese version. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Cc: Harry Wei <harryxiyou@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Federico Vaga <federico.vaga@vaga.pv.it> Cc: SeongJae Park <sj38.park@gmail.com> Cc: Tom Levy <tomlevy93@gmail.com> Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations/zh_CN/process/4.Coding.rst')
-rw-r--r--Documentation/translations/zh_CN/process/4.Coding.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Documentation/translations/zh_CN/process/4.Coding.rst
index 2b60752a81b2..5301e9d55255 100644
--- a/Documentation/translations/zh_CN/process/4.Coding.rst
+++ b/Documentation/translations/zh_CN/process/4.Coding.rst
@@ -22,9 +22,10 @@
********
内核长期以来都有一种标准的编码风格,如
-:ref:`Documentation/process/coding-style.rst <codingstyle>` 中所述。在大部分
-时间里,该文件中描述的政策被认为至多是建议性的。因此,内核中存在大量不符合编
-码风格准则的代码。代码的存在会给内核开发人员带来两个独立的危害。
+:ref:`Documentation/translations/zh_CN/process/coding-style.rst <cn_codingstyle>`
+中所述。在大部分时间里,该文件中描述的政策被认为至多是建议性的。因此,内核
+中存在大量不符合编码风格准则的代码。代码的存在会给内核开发人员带来两个独立
+的危害。
首先,要相信内核编码标准并不重要,也不强制执行。事实上,如果没有按照标准对代
码进行编码,那么向内核添加新代码是非常困难的;许多开发人员甚至会在审查代码之