From: Weijie Yuan <wy@wyuan.org>
To: Chen-Yu Yeh <chenyou910331@gmail.com>
Cc: alexs@kernel.org, corbet@lwn.net, dzm91@hust.edu.cn,
si.yanteng@linux.dev, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 19/25] docs/zh_TW: process: sync coding-style.rst with the English original
Date: Wed, 2 Dec 2026 17:37:32 +0800 [thread overview]
Message-ID: <aw_m3FqQFOEu5GVi@wyuan.org> (raw)
In-Reply-To: <20261123110217.170025-20-chenyou910331@gmail.com>
On Mon, Nov 23, 2026 at 07:02:10PM +0800, Chen-Yu Yeh wrote:
> The translation is marked "update to
> commit 323fa4b9608b ("Documentation: Fix syntax of kmalloc_objs example
> in coding style doc")", but that commit only touched the memory
> allocation examples. A comparison against the current English text
> shows the rest of the file never picked up a number of earlier changes:
>
> - add the loop braces example from
> commit 1dbba2cf30c9 ("Documentation/CodingStyle: Add an example for
> braces")
> - add the 80-column wording from
> commit bdc48fa11e46 ("checkpatch/coding-style: deprecate 80-column
> warning") and drop the old "strongly preferred" sentence
> - add the boilerplate kernel-doc paragraph from
> commit e5880f95a979 ("docs: process: discourage pointless boilerplate
> kdoc") and use the doc_guide reference and tools/docs/kernel-doc as in
> the original
> - drop the net/ comment style removed by commit 82b8000c28b5 ("net: drop
> special comment style")
> - add the EditorConfig paragraph from commit 5a602de99797 ("Add
> .editorconfig file for basic formatting") and the clangformat
> reference from commit e3b10a02ca2f ("Docs: Move clang-format from
> process/ to dev-tools/")
> - add the function-like macro guidance from
> commit 6813216bbdba ("Documentation: coding-style: ask function-like
> macros to evaluate parameters")
> - use <linux/dev_printk.h> as in commit c04639a7d2fb ("coding-style.rst:
> trivial: fix location of driver model macros") and add the dev_dbg
> guidance from commit 5c7944ca7b13 ("coding-style: Add guidance to
> prefer dev_dbg")
> - point to array_size.h, stddef.h and minmax.h instead of kernel.h as in
> commit 197bbebd2581 ("docs: Update documentation to avoid mentioning
> of kernel.h")
> - translate section 22 "Do not crash the kernel" from
> commit 1cfd9d7e43d5 ("coding-style.rst: document BUG() and WARN()
> rules ("do not crash the kernel")")")
> - use the talk title "Kernel CodingStyle" from
> commit 775a445d9a63 ("coding-style: fix title of Greg K-H's talk")
> - remove a duplicated overflow sentence in section 14, link
> memory-allocation.rst through its label instead of the zh_CN path,
> and render "zeroed array" correctly
> - retranslate sentences whose meaning had drifted: the "deliberately
> broken" example, the trailing whitespace and patch series note,
> accessor functions, dev_dbg()/VERBOSE_DEBUG, the inline maintenance
> trade-off and the "!!" construction for bool
> - restore the English inline literals (double-indenting, help
> readability, one err bugs, classes, ...) and the English convention
> block in section 16, each followed by a Chinese rendering
> - fix cntusr(), GW-BASIC and Dennis M. Ritchie
> - localize terminology (屏幕→螢幕, 嵌套→巢狀, 操作符→運算子, 補丁→修補程式,
> 協議→協定, 設備→裝置, 分配→配置, 優先級→優先順序, 體系結構→架構, ...)
>
> update to commit 323fa4b9608b ("Documentation: Fix syntax of
> kmalloc_objs example in coding style doc")
>
> Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Nice job!
Reviewed-by: Weijie Yuan <wy@wyuan.org>
Thanks.
> ---
> .../zh_TW/process/coding-style.rst | 286 +++++++++++-------
> 1 file changed, 185 insertions(+), 101 deletions(-)
next prev parent reply other threads:[~2026-12-02 9:37 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 11:01 [PATCH v2 00/25] docs/zh_TW: process: resync translations with the English originals Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 01/25] docs/zh_TW: process: sync 1.Intro.rst with the English original Chen-Yu Yeh
2026-11-23 11:01 ` [PATCH v2 02/25] docs/zh_TW: process: sync 2.Process.rst " Chen-Yu Yeh
2026-12-01 16:31 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 03/25] docs/zh_TW: process: sync 4.Coding.rst " Chen-Yu Yeh
2026-12-01 17:03 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 04/25] docs/zh_TW: process: sync 5.Posting.rst " Chen-Yu Yeh
2026-12-02 6:06 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 05/25] docs/zh_TW: process: sync 6.Followthrough.rst " Chen-Yu Yeh
2026-12-02 8:23 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 06/25] docs/zh_TW: process: sync 7.AdvancedTopics.rst " Chen-Yu Yeh
2026-12-02 8:30 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 07/25] docs/zh_TW: process: sync 8.Conclusion.rst " Chen-Yu Yeh
2026-12-02 8:34 ` Weijie Yuan
2026-11-23 11:01 ` [PATCH v2 08/25] docs/zh_TW: process: sync code-of-conduct-interpretation.rst " Chen-Yu Yeh
2026-12-02 8:36 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 09/25] docs/zh_TW: process: sync code-of-conduct.rst " Chen-Yu Yeh
2026-12-02 8:39 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 10/25] docs/zh_TW: process: sync gdb-kernel-debugging.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 11/25] docs/zh_TW: process: sync development-process.rst " Chen-Yu Yeh
2026-12-02 8:41 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 12/25] docs/zh_TW: process: sync email-clients.rst " Chen-Yu Yeh
2026-12-02 8:49 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 13/25] docs/zh_TW: process: sync kernel-driver-statement.rst " Chen-Yu Yeh
2026-12-02 8:58 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 14/25] docs/zh_TW: process: sync kernel-enforcement-statement.rst " Chen-Yu Yeh
2026-12-02 9:00 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 15/25] docs/zh_TW: process: sync management-style.rst " Chen-Yu Yeh
2026-12-02 9:09 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 16/25] docs/zh_TW: process: sync security-bugs.rst " Chen-Yu Yeh
2026-12-02 9:31 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 17/25] docs/zh_TW: process: sync volatile-considered-harmful.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 18/25] docs/zh_TW: process: sync 3.Early-stage.rst " Chen-Yu Yeh
2026-12-02 9:33 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 19/25] docs/zh_TW: process: sync coding-style.rst " Chen-Yu Yeh
2026-12-02 9:37 ` Weijie Yuan [this message]
2026-11-23 11:02 ` [PATCH v2 20/25] docs/zh_TW: process: sync embargoed-hardware-issues.rst " Chen-Yu Yeh
2026-12-02 9:43 ` Weijie Yuan
2026-11-23 11:02 ` [PATCH v2 21/25] docs/zh_TW: process: sync howto.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 22/25] docs/zh_TW: process: sync license-rules.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 23/25] docs/zh_TW: process: sync stable-api-nonsense.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 24/25] docs/zh_TW: process: sync submit-checklist.rst " Chen-Yu Yeh
2026-11-23 11:02 ` [PATCH v2 25/25] docs/zh_TW: process: sync submitting-patches.rst " Chen-Yu Yeh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw_m3FqQFOEu5GVi@wyuan.org \
--to=wy@wyuan.org \
--cc=alexs@kernel.org \
--cc=chenyou910331@gmail.com \
--cc=corbet@lwn.net \
--cc=dzm91@hust.edu.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=si.yanteng@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.