[PATCH 10/42] docs/zh_CN: add 4.Coding.rst

From: Alex Shi
Date: Wed Mar 27 2019 - 09:05:44 EST


The file was translated and could be found in developement-process

Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
Cc: Harry Wei <harryxiyou@xxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
.../translations/zh_CN/process/4.Coding.rst | 285 ++++++++++++++++++
1 file changed, 285 insertions(+)
create mode 100644 Documentation/translations/zh_CN/process/4.Coding.rst

diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Documentation/translations/zh_CN/process/4.Coding.rst
new file mode 100644
index 000000000000..6fcbfec5c040
--- /dev/null
+++ b/Documentation/translations/zh_CN/process/4.Coding.rst
@@ -0,0 +1,285 @@
+.. _cn_development_coding:
+
+ääçæç
+======================
+
+èçåäääååçãéåçåçèèèçæååèèèïäæääåæååéçç
+èæéåçæçäçäãåæåçåäååäåææåååïæäååïåäçæä
+çäçãæäèæäççèéååäéççæçæåã
+
+æèåææççèçãæäåäåæååäååéçåçæåååãçåéçåèç
+åæççäæååäååèääåçååäã
+
+éé
+----
+
+ççéæ
+********
+
+åæéæäæéæäçæåçççéæïå
+:ref:`documentation/process/coding-style.rst <codingstyle>` äæèãååéå
+æééïèæääæèçæçèèäèåæåèæçãåæïåæäåååéäçåç
+çéæååçäçãäççååäçåæååäååæääçççååã
+
+éåïèçäåæççæååäéèïääååæèãäåäïåææææçæååä
+çèèççïéäååææåæäçæéååéçïèåååäåçèäååæäçä
+åèæåäçèèéææååãäääåæäæåçäçåéèääçäçäçïää
+ååäåèååéçèåäçääéåãæäåçææçéæåæåæçæååäçäã
+
+ååïåæçççéæääéäçååéæåçåçãåèçæåäïåæçéæåé
+åäçååäåèèãåäçæååææåçäåçæåæåäåçåçæåæââåæ
+æåäççæååæåã
+
+åääééæåååçååæäçäçèåéèççæåçäåãååäååèäåå
+çæéææååèäïääçæèççäçæåïæèääåååçåååæåææå
+çäçæåïæèäèåèæäãäæçççéæçäåèååçåèäåéïåäå
+ååååéãåæïæåéåäçèççåçèäãçäåäååïååçäæäçç
+åæäååçæåæåèççïäæççæåçææäåèäääææèèèã
+
+ççéæçææääåèèèäçåçæåïèææèääèèåçãåææääåå
+çççååèçæåïäåïåææåäéå80åéåçèïéäåçåèæåäåå
+éäïïéäåèæåã
+
+èææïæèåääçclangæåååæååæåçèäèåïèåéææååéå
+äçïåæçåæçæäïäåçççæåéèãæåéèååèçæèãåèåä
+æäåèèæåïåæåéåé/åãåæææååäçääåãæåèçäæïè
+åéæä :ref:`Documentation/process/clang-format.rst <clangformat>`
+
+æèå
+******
+
+èçæçåæææåçäçææåäæéèçåäåæäçæèåãåçïåæåæ
+åäçäæèïääæåæçäèäççéçéäèååèäçååæäæãäçé
+èæïèåæèæçæèåèåèæçäåäææåãæèåçäæéççåï
+äèèåã
+
+åääçåççåäïèèääåæçåæïèåæææçææèçæääéäéã
+æäåääçèäèç: äéæäæçéèäçåæäçéåçææãäèïåéæï
+åçèäéååæçäçåæåèäæçäæèææåçååæåèçåââåäåä
+æèäçèãæèïåéèéåççæææïåäääçåçååææææçæåæ
+èæåãåæååäåéåäæäèäæåéæäççåæïäèæèïéåäåè
+æåèäåæã
+
+éèçäèéçæèåââéååèåéçéåçåååäæäççääçââååäå
+æèãèæçåääçååæçïåèäéææèæåïåääåäLinuxåæã
+
+åäæéïåææåçèåäåääåæåççååäåéçäçïéäçåææå
+éääïäåäïåèääçäçääæåååççåäïæèåæéçåæäåç
+èäåèæåææäãåæäåæäååçåçäçææäåã
+
+#ifdef åéåç
+***************
+
+CéåçåääçääCçåååæäååçèæïääèäåæäçææåååéç
+ææççåææääçææãäæéåçåäæCïåéäçåäåèäçååääæ
+èæéèåïåçèåæèæéæææçæãåéçéåçååäææäçéèää
+æçåäçæåã
+
+äçifdefçæäçèåéäæääååçåèïåååæääçãäæååæäåæ
+çåäçèåéåæäifdefåãäääèèåïifdefçäçåååèéåååæä
+äãææäçèçäçåäéååæïåæäçäååïèäåæåäåæççãçå
+çèååææåäååçåæçèçãçææäçæåææïæåæçèã
+
+Céåçååååèååéïåæåèååæåäçäææçåååæçèèåèèå
+éèäãåææèååäåïèèèååääåèåæãçæçåçäçïäæåè
+åææåæèåïääåæèçååæïåäåèçèåååæåèååæèçåææã
+
+åèåæ
+********
+
+äèïåèåææèäååééãçåååäååäéååæèçåçåèåæååæ
+æäæåæçæçãçèïèäåèåéääéäæèãåäåäçäçåæäèçç
+çéèååïæäåäæçäååçèåæçååãåèæïèäååçåçååçå
+éæååïäèååéäæèéåãéåïåèåæåèéååïèäçåèåãæçï
+åæèççææåäéïåéåèåæçååæèæäåçååäåã
+
+äèæèïåæçååäåççåææïèäåæåéãåååçææçæèçäïç
+åçæé/çéæèéåäéçäåäçäãçéåææéïåäääåççåæää
+æçåççåèèåæã
+
+æèççèååååääçååææååèèåèæéææçèæèçæçèèã
+åæïâinlineâåéåçèçæçåèäääæèåçïåäåèææåçã
+

+**
+
+2006å5æïâdeviceescapeâççåæåGPLäååïåèçåäçåæãèæääå
+æèçææïåLinuxäæççççææååéèèäæäåæçïèdeviceescape
+åææäääåèçæåçæèãçèïçå2007å6æï2.6.22ïïèæäçæç
+æèåäçãåçäääï
+
+èæäçæçäèåéééèçèèãäääçååçééæïååäæèèçäå
+åçåççãåååèäççåæïçåçämac80211ïäåïéèååèèääé
+ææçæéã
+
+æçïLinuxåæäçåäåäèèååçåççæåæçååæééçæåäèè
+ååãçèïçåïèäæäæåååæçèæçèäçãåäåååçåççäï
+äæéååèåæåçåäääæéåæåçååææåãçååæäçèäèèé
+çæååçèååéäã
+
+åäçåäççååèéçääèæïææçæãçäåååçïåéçéäæãæ
+çäçåèèäèäèæïäåæèéæäéçååéçäåãåæååäååèè
+æéååäèåççéåèïäääääéææççååãæçåååæçäåæç
+äçèåäçåååéã
+
+åå
+****
+
+æåääååäæçåéæïååèäåèæåïèåèäåæååçæèïïäè
+åèçæçæçæääèäæãèçååèçäâååâïåååçæääçåææä
+åæèçãéåæäåæååïåæååäèåæäæïäåèååçåååèåæã
+æåéåéåååã
+
+ääååäèïåæååèæåäåäåäïèèèäçééïéäååæåççã
+åæåçåçääççåäåäççåææçåèïääääèèææåï2007å7æï
+Linusåèäééçåäæäçæï
+
+::
+ æäæäääéèååæééæäåéèãéæçèèåççïææäçé
+ äæåççæèåãæåèäæïåéäæïèæååäæïååäæï
+
http://lwn.net/articles/243460/ï;
+
+äççåäåæèçååçåæçæçéABIçääååãäææåèåååçæçéï
+ååéæéæåææåãèääåäåçæçéæåçååçååææææïåäåä
+äèääååçæåèèææïæäåéçäææçåèèææãåæïçæçéçé
+ææéèåéçæèãææçææååæçåæã
+
+
+äçææåå
+------------
+
+èåçåïçåæéèäçäçææääååäèèåççæçæãäèïæäåæå
+çæïåäçèåäçåæäåïååèååæèåäåèäéèãäæïåæååä
+ååççèääçåääåèæåçååïåäèåæèåçåæçæçééãèçæ
+åççääéééæäääåääåæçæçééïåæïåèæåèïååèäç
+èååååã
+
+çäæåæææçèåäççèåãåäçæçGCCåäææïåèåïåéæåéèã
+éåïèäèåéæåçæçééãæäääåéçäçéåäääçääçèåèåã
+åæéèåæïææäèçæçååïååééåâäåâïäèåæåèäèååååã
+
+èææïåéææçèåèåééèåçãäçâmake EXTRA_CFLAGS=-Wâæååæä
+èååæéåã
+
+åææääåäéçééïåäæåèèåèïååæéçééääâkernel hackingâ
+åèåäãåäääçäååææèçççåæïéåèåçåäåäééãçåæï
+æåèæåï
+
+ - åç ENABLE_MUST_CHECK and FRAME_WARN äèåäçéåçèåïäèåäçä
+ æèäççæåæåçåæçéèèååçééãèäèåçæçèååèæåé
+ çïäæäåæåæèåæåäéåçèåã
+
+ - DEBUG_OBJECTS åæåäçïäèèåæååçåçåèççåæïåååçééæ
+ ååèåãåæèæåååïåååïèåçåæåèçåççïèèèæåååè
+ èèåççæçææã
+
+ - DEBUG_SLAB åäåçåçåååéåäçéèïååèçäååæåååæã
+
+ - DEBUG_SPINLOCK, DEBUG_ATOMIC_SLEEP and DEBUG_MUTEXES äåçèååèç
+ éåéè.
+
+èæåååäèèééïåäääååäéèèãåäääåææèçæèååïäå
+äçäçãäæïååäåçééäèèçääæéåèäåçæååååæåæã
+
+åäääèéçèèååæéåææåæâlockdepâãèåååèèççäæäé
+ïspinlockæmutexïçèååéæãèåéççåéåãååäæçåççãçåï
+ååäçäææäçåçéåèåéïçåçäæåèéçäæææåïççãæåè
+èïlockdepåäæåèååæïåèäåæäïççååäæéãåéççççäï
+èçééåèäåçèïåäååäååçæèèïïLockDepåèæåäèåæå
+åçééãåæääçåçéæééåçäçåæäååååååçlockdepçæå
+äèèã
+
+ääääååçåæçååïææçéïæåææääåèåèçæäïååååéï
+çèåçæãçèïäåäïæççæéæåèååèååææçèæèãææèç
+äçååäèçåïåæææèäéèåçèåéèæèäåæïéäæåèåäç
+ææäåã
+
+åææääääåäååèäççéèæåææïçåæåæååååéçæåäã
+åçæéæååïåååéçåéççåæååèïèäåèåäéååçåçäç
+èååãååçäæéæåçæåäèèïçåååäçååæåæåæäçåäå
+åãæååääçæååçèçäæïèåé
+documentation/fault-injection/fault-injection.txtã
+
+äçâsparseâéæåæåååäåçåäçåçéèãåäsparseïåäèåçåå
+çæçéååæçéååäéçææãbig endianåsmall endianæéçæåãåé
+èäçäæåçåæäéææåççãsparseåéåçåèïåææçååæååæ
+æååæåïåäåhttps://sparse.wiki.kernel.org/index.php/Main_page ïæå,
+çååäéèåmakeåääæåâC=1âåäçäèèåã
+
+âCoccinelleâåå :ref:`http://coccinelle.lip6.fr/ <devtools_coccinelle>`
+èååçåçæåçççééïåèåääèäééæåäåææãå
+scripts/coccinelleçåäåçæåäçååçåæâèäèäâïèè
+âmake coccicheckâåèèèäèäèäåæååççääééãæåèçäæïèåé
+:ref:`Documentation/dev-tools/coccinelle.rst <devtools_coccinelle>`
+
+
+åäçåçåçææéèæåéèäåääççæçèäçæåçãåæææS/390çç
+æBlackfinååæïæäçåäæèçèæéãåäåäääçæåäççäx86ççç
+ååäåçèåï
+
+ http://www.kernel.org/pub/tools/crosstool/
+
+èääæéåèåäçèäçèååæåäéåäåçååã
+
+ææ
+----
+
+ææéåæåæååèåæääåãåäåæïèåçææåæåäçååæäçåå
+ååæäçèçïäåäååäåççææèæïååæççæææååãåèåæå
+äïæäçæåååæäæäååæçã
+
+ääèäççääæææååèçåææåãæåæçåèæèæåèåçééãèå
+ææçååãåçèäçäåãåæèçääçåååïäåçèèäåèéèçää
+åäååãçächangelogèæääääèäåååçïåéååäåæèæäèääæã
+
+ääæåæçæçéçéçäçïåææçsysfsæ/procæäïéåèååèçéç
+ææïèææäçæçéååäåèåçéääåäçääãèåé
+documentation/abi/readmeïäèåäæååæææäåéèæäåääæã
+
+æä:ref:`documentation/admin-guide/kernel-parameters.rst <kernelparameters>`
+æèäåæçææååæéåæãääæåæåæçèäéåèåèæäæåéåç
+æçã
+
+ääæçéçéééåééæååææïååææææåèéäèäééäåçæåè
+åæäæéæåäã
+
+èååçççåéAPIäæéèäéæååçæéèèèåïèäæéåäéè
+âkernel-docâèæäåçæåæååæååãåææååækerneldocæéçåççä
+åäïååèçæåäïåææéèäåéåççåèæååäãåäåææåæèå
+çéåäïäåææåkerneldocæéäææååïåéäïèåäååååååæçä
+æèæääæççæåãèäæéçæåäååäååkerneldocææçäääæåäå
+:ref:`documentation/doc-guide/ <doc_guide>` äæåã
+
+ääéèåéçæåæäççäéäææåïæéççåååææååææçãåäæï
+åæäççæææèåæéïååææéçäçåæååéãèåæèïääåääåæ
+çèèæéäçãäçæèåèæåèçïæéèéäæååçæéã
+
+æääæåèææèæéãäçåååéæïåéääèæåïèéäääéèèçåå
+åéãææçæçéåèåéåéèåæäåæèéãäèæèïäèææçæéèåé
+çææãåèæååçäçääéäææçäèæãääåèèääççéäèèéèç
+âæçâçäæééèääæéæèæäääèèæåãççã
+
+
+Internal API changes
+--------------------
+åéAPIææ
+
+åææäççæçéçäèåæåäèèçåïééåæäéçæåäãçåïåæç
+åéççæåæéåæåçïåéèæåäææãåæäåçèåäåäåçääåæ
+APIïæèääåäåäæèäçéæèääççåçåèïèåèæAPIéèæåçä
+äæåãääåæååäåïæææèèæçææã
+
+åç, åäèèAPIææïäåäåéæåççãåæïääèèåéAPIææçèäé
+åèéåääåäææååååèååçæèãèçååäåèåèæääåççèäï
+èäæååääæåçèääã
+
+åääèçæïææåéAPIçååäåéåèèèäååææäèææçåçäääçã
+åäääåæäççåæïèäèèåäåèæçäåçååïåäèååååèäåä
+ååäåæååçåäçåçãäçèïèåèæäéååäïæäæåçäççæ
+åéçãèææïcoccinelleåååäååèèåæçAPIææã
+
+åèèäååçAPIæææïåååèçäçèåæèæææçäçãèåååæçäæ
+åèæåçæåçåãåèåèåååäåæåäçååääéèååçææãæææå
+äçäæåæååäåéèæåçäæïäææäääåäæåååäåççææäåè
+çåéã
--
2.19.1.856.g8858448bb