From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C625C43461 for ; Mon, 17 May 2021 08:45:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4DAE861166 for ; Mon, 17 May 2021 08:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235573AbhEQIrH (ORCPT ); Mon, 17 May 2021 04:47:07 -0400 Received: from mail.loongson.cn ([114.242.206.163]:38372 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235579AbhEQIrC (ORCPT ); Mon, 17 May 2021 04:47:02 -0400 Received: from localhost.localdomain (unknown [112.20.109.240]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9CxucksLaJgfzwYAA--.37122S2; Mon, 17 May 2021 16:45:33 +0800 (CST) From: Yanteng Si To: corbet@lwn.net, alexs@kernel.org Cc: Yanteng Si , chenhuacai@kernel.org, jiaxun.yang@flygoat.com, linux-doc@vger.kernel.org, realpuyuwang@gmail.com, bobwxc@email.cn, siyanteng01@gmail.com, huangjianghui@uniontech.com Subject: [PATCH v7 0/3] docs/zh_CN add three core api docs Date: Mon, 17 May 2021 16:46:12 +0800 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9CxucksLaJgfzwYAA--.37122S2 X-Coremail-Antispam: 1UD129KBj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whqwqxorr0wxvrqhubq/ Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org v6 -> v7: * Translate sentences introduced by fixing build warnings. * Pick Jiaxun's review-by tag for [patch 2-3/3] https://lore.kernel.org/linux-doc/cover.1621062577.git.siyanteng@loongson.cn/T/#t v5 -> v6: * fix build warnings. https://lore.kernel.org/linux-doc/CAEensMwf+w8aOuMqBy_wrWGBVBnVZdjKNJgS4jRQTAO4zwN1vw@mail.gmail.com/T/#t https://lore.kernel.org/linux-doc/CAEensMzL31Lq2NTVC74hfQyPy+7mTd=74p5Kkamf4LZ_GAieLA@mail.gmail.com/T/#t v4 -> v5: * Pick Alex's review-by tag for [patch 1-3/3] v3 -> v4: Some bad translations have been modified as suggested by Jiaxun. Thank you for your review. v2 -> v3: * Pick Xiangcheng Wu's review-by tag for [patch 1-3/3] * fix two original links. [1/3 and 3/3] v1 -> v2: * Some bad translations have been modified as suggested by Xiangcheng.Thank you for your review https://lore.kernel.org/linux-doc/cover.1618836460.git.siyanteng@loongson.cn/T/#t * As Matthew and Xiangcheng suggested: call kernel-doc to generate related docs (0001 and 0002).Thanks! I tested it on other computers (at least three) with no problem, But on my computers it prints 1000+ warnings, I tried to find the cause in the past few days but no clue. So, the two patches may print as follows:(maybe your computer won't print anything) linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: struct list_head *prev'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: struct list_head *next'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: void (*sync)(void)'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283. Declaration is '.. c:function:: void list_splice_init_rcu(struct list_head *list, struct list_head *head, void (*sync)(void))'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283. Declaration is '.. c:None:: struct list_head *list'. ... I'm a little skeptical now that something's wrong with my computer. Yanteng Si (3): docs/zh_CN: add core-api kernel-api.rst translation docs/zh_CN: add core-api printk-basics.rst translation docs/zh_CN: add core-api printk-formats.rst translation .../translations/zh_CN/core-api/index.rst | 7 +- .../zh_CN/core-api/kernel-api.rst | 369 +++++++++++ .../zh_CN/core-api/printk-basics.rst | 110 ++++ .../zh_CN/core-api/printk-formats.rst | 580 ++++++++++++++++++ 4 files changed, 1064 insertions(+), 2 deletions(-) create mode 100644 Documentation/translations/zh_CN/core-api/kernel-api.rst create mode 100644 Documentation/translations/zh_CN/core-api/printk-basics.rst create mode 100644 Documentation/translations/zh_CN/core-api/printk-formats.rst -- 2.27.0