Some of the sentences in Chapters 19 and 20 are re-translated: - Fixed translation errors in Section 2 of Chapter 19 to prevent misleading readers; - Retranslate some sentences to make the translation more clear and accurate.
Signed-off-by: Andy Deng <theandy.d...@gmail.com> --- Documentation/translations/zh_CN/CodingStyle | 61 ++++++++++++++-------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/Documentation/translations/zh_CN/CodingStyle b/Documentation/translations/zh_CN/CodingStyle index dc101f4..45b8fc9 100644 --- a/Documentation/translations/zh_CN/CodingStyle +++ b/Documentation/translations/zh_CN/CodingStyle @@ -735,22 +735,22 @@ Vim ?????????????????????????????? ??????????????????????????? -?????????????????????????????????????????????????????????????????? CPU ??????????????????????????????????????? -?????????????????????????????????????????? C ?????????????????????????????????????????????????????????????????? -????????????????????????????????? C ?????????????????? +???????????????????????????????????????????????????????????? CPU ???????????????????????????????????????????????? +?????????????????????????????? C ????????????????????????????????????????????????????????????????????????????????? +????????????????????????????????? C ?????????????????? -?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -???????????????????????? C ????????? +????????????????????????????????? (wrap common bits) ??????????????????????????????????????????????????? +???????????????????????????????????????????????????????????????????????? C ????????? -??????????????????????????????????????? .S ?????????????????? C ?????????????????? C ????????????????????? -????????? C ?????????????????? ???asmlinkage?????? +?????????????????????????????????????????????????????? .S ???????????????????????? C ??????????????? C ?????? +???????????????????????? C ?????????????????? ???asmlinkage?????? -????????????????????????????????????????????? volatile???????????? GCC ????????????????????????????????? -?????????????????????????????????????????????????????????????????????????????????????????? +??????????????????????????????????????? volatile??????????????? GCC ??????????????????????????????????????? +??????????????????????????????????????????????????????????????????????????????????????? -?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -???????????????????????????????????????????????? \n\t ??????????????????????????????????????????????????? -??????????????? +?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? +????????????????????????????????????????????????????????? \n\t??????????????????????????????????????????????????? +????????? asm ("magic %reg1, #42\n\t" "more_magic %reg2, %reg3" @@ -759,33 +759,34 @@ Vim ?????????????????????????????? ??????????????????????????? -??????????????????????????? .c ???????????????????????????????????????????????????????????????????????????????????? -???????????????????????????????????????????????????????????? .c ??????????????????????????????????????????????????? -????????????????????????????????????????????????????????????????????????????????????????????? #else ???????????? -?????? .c ????????????????????????????????????????????????????????????????????????????????????????????????????????? -??????????????????????????????????????? +??????????????????????????? .c ????????????????????????????????? (#if, #ifdef)??????????????????????????? +?????????????????????????????????????????????????????????????????????????????????????????????????????? .c ?????? +??????????????? #else ?????????????????? (no-op stub) ?????????????????? .c ??????????????????????????? +?????? (????????????????????????) ??????????????????????????????????????????????????? (stub) ??????????????? +???????????????????????????????????????????????????????????????????????? -?????????????????????????????????????????????????????????????????????????????????????????????????????? ifdef??? -???????????????????????????????????????????????????????????????????????????????????????????????? +????????????????????????????????????????????????????????????????????????????????????????????????????????? ifdef +?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? +????????????????????????????????? -???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -????????????????????? __maybe_unused ????????????????????????????????????????????????????????????????????? -?????????????????????????????????????????????????????????????????? +?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? +??????????????????????????? __maybe_unused ???????????????????????????????????????????????????(???????????? +???????????????????????????????????????????????????????????????) -?????????????????????????????????????????? IS_ENABLED ?????????????????? Kconfig ????????? C ????????? -??????????????????????????? C ????????????????????? +????????????????????????????????? IS_ENABLED ?????????????????? Kconfig ????????? C ????????? +??????????????????????????? C ????????????????????? if (IS_ENABLED(CONFIG_SOMETHING)) { ... } -?????????????????????????????????????????????????????? #ifdef ??????????????????????????????????????????????????? -??????????????????????????????????????????????????????????????? C ?????????????????????????????????????????????????????? -?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -????????????????????? #ifdef??? +???????????????????????????????????????????????? #ifdef ?????????????????????????????????????????????????????? +???????????????????????????????????????????????????????????? C ??????????????????????????????????????????????????? +?????? (???????????????????????????????????????)?????????????????????????????????????????????????????????????????? +???????????????????????????????????? #ifdef??? -????????????????????? #if ??? #ifdef ???????????????????????????????????? #endif ???????????????????????? -?????????????????????????????????????????????????????? +????????????????????? #if ??? #ifdef ???????????? (???????????????)?????? #endif ????????????????????? +??????????????????????????????????????????????????? #ifdef CONFIG_SOMETHING ... -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html