Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1665932imc; Mon, 11 Mar 2019 20:28:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvWRRilJ2C3RlHbyr9g321BOR5Frw61FJb1sao/EG2uJ90zn1NLV8eEJ85DZN/rTbJTIlu X-Received: by 2002:a63:7843:: with SMTP id t64mr33109527pgc.178.1552361320274; Mon, 11 Mar 2019 20:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552361320; cv=none; d=google.com; s=arc-20160816; b=RsCEB5XZ0g2lfQFU8RKgI/Y0gdqwXBpDgBDKszlmoQiO0uYnBmp0vjOB9yplRz5iq8 ilWNMrlugbsmycgYTYP9fEyAUz1P3cCqSEkz4lbdjF1nyVFQcSUQ3hilobtOQUWd4RY4 R//rI6F295xp1ye5TON55ZiD7brKDu0WzB1TErf5ynsh9slLfikb4cqvPEPSSj0g1ZnG eGOcX41r1CXUnOP7fF60PgmcN7LOZnGMS1nh6JqqPQc6K+DuPke2M0Gf2nZeqXnQA2D2 6Tq23Mi5sQG40ppExnbyhgrXuoWL7aQ7+DrU6pK1lfS4UeqUVicpehNtIoNKD4v/ijmZ jLFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WZaQtzU9Lq9YWK2WjZmjbwLvjiUQ7R0dvJCV+m1OKjY=; b=AQ/ywmAbTYxk5dcf4+bdSv7Lr5MhvbkTjF1QaEnGgXBXCV9bNX2MbeffAGeKEuoOtS 1PAZb1gzqvCcv7bC9QtUBoDtF/HR2hYIKPMbuwBe8+GRtTYEv1sq9zFpaJ5L8Tk8Dut9 1lxW8mWRj7eHzObMx5eKw7qT4ZqEsJaJDQ9JTgCMpsVc7xELC5ub5B70VQQikenVYFBo Sh62PUrPYVm+eIlAwex9o24Ra2u1Fgza2p3mLOdOSpgkCRw9S0HF3fOSBfx7xF/C7pNA OOZLvjV6q/D5TUHR89CEr+TqGpzBnUd3uIn88cPzYUGBOmHWE+p7xe0SakGNNXldGk9w PWjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2si6524121pfd.113.2019.03.11.20.28.22; Mon, 11 Mar 2019 20:28:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbfCLDZl (ORCPT + 99 others); Mon, 11 Mar 2019 23:25:41 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:35706 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbfCLDZf (ORCPT ); Mon, 11 Mar 2019 23:25:35 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R621e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04389;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0TMWN2sI_1552361132; Received: from localhost(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TMWN2sI_1552361132) by smtp.aliyun-inc.com(127.0.0.1); Tue, 12 Mar 2019 11:25:32 +0800 From: Alex Shi To: corbet@lwn.net, harryxiyou@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alex Shi , TripleX Chung , Li Zefan , Shawn Guo , Fengguang Wu , Coly Li Subject: [PATCH v4 08/31] docs/zh_CN: format the submitting-patches doc to rst Date: Tue, 12 Mar 2019 11:24:37 +0800 Message-Id: <20190312032501.62056-9-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 2.19.1.856.g8858448bb In-Reply-To: <20190312032501.62056-1-alex.shi@linux.alibaba.com> References: <20190312032501.62056-1-alex.shi@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org And remove Enghlish explainations in the docs, which it isn't necessary in Chinese doc. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li Signed-off-by: Weiwei Jia --- .../zh_CN/process/submitting-patches.rst | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/Documentation/translations/zh_CN/process/submitting-patches.rst b/Documentation/translations/zh_CN/process/submitting-patches.rst index e9098da8f1a4..2a2989733c8d 100644 --- a/Documentation/translations/zh_CN/process/submitting-patches.rst +++ b/Documentation/translations/zh_CN/process/submitting-patches.rst @@ -1,31 +1,21 @@ -Chinese translated version of Documentation/process/submitting-patches.rst +.. _cn_process_submittingpatches: -If you have any comment or update to the content, please contact the -original document maintainer directly. However, if you have a problem -communicating in English you can also ask the Chinese maintainer for -help. Contact the Chinese maintainer if this translation is outdated -or if there is a problem with the translation. +.. include:: ../disclaimer-zh_CN.rst -Chinese maintainer: TripleX Chung ---------------------------------------------------------------------- -Documentation/process/submitting-patches.rst 的中文翻译 +:Original: :ref:`Documentation/process/submitting-patches.rst ` 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻 -译存在问题,请联系中文版维护者。 +译存在问题,请联系中文版维护者:: -中文版维护者: 钟宇 TripleX Chung -中文版翻译者: 钟宇 TripleX Chung -中文版校译者: 李阳 Li Yang - 王聪 Wang Cong + 中文版维护者: 钟宇 TripleX Chung + 中文版翻译者: 钟宇 TripleX Chung + 中文版校译者: 李阳 Li Yang + 王聪 Wang Cong -以下为正文 ---------------------------------------------------------------------- - 如何让你的改动进入内核 - 或者 - 获得亲爱的 Linus Torvalds 的关注和处理 ----------------------------------- +如何让你的改动进入内核 +====================== 对于想要将改动提交到 Linux 内核的个人或者公司来说,如果不熟悉“规矩”, 提交的流程会让人畏惧。本文档收集了一系列建议,这些建议可以大大的提高你 @@ -35,12 +25,12 @@ Documentation/process/submitting-patches.rst 的中文翻译 Documentation/process/submitting-drivers.rst 。 --------------------------- +--------------------------- 第一节 - 创建并发送你的改动 --------------------------- +--------------------------- 1) "diff -up" ------------ +------------- 使用 "diff -up" 或者 "diff -uprN" 来创建补丁。 -- 2.19.1.856.g8858448bb