From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.121 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796204258; b=JhbYKMl8rzZouHhUb/zlHNHKNybBSe6VK3rer68JvOj8tCp8pMIa2SYl8hcDIoU74GjG 3bFBy8OvmtJQlgk95FQf0cxnwC0pzm4HlfA6HSA8Amz4YDDAEF+BxH+v0NDYPFgiwzxOK 0A7doQFVx0/BwMWnafE/rGADMDr2j/DrAEJW+LkO6z+pvrU2yyQY/T8QKLOCfV0qC2SJY QuiXc+dLZQxKvE+ayYCT/L0UL/dve2LlOMGtvaN8FxdWLGccnIvfOYkTflTVbRpqmPpkx 8V54bOlr5KuZR6iAkBzspSyB3/h5WTiEdN65FTbfuKDUU/1muxAs+EfsyiG0ih5HMhg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796204258; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=HmAN//DK/U4i+R6NVp7ZC4uZpisn2JxwdVnXRkpUtAQ=; b=abfXY//wrL6cfJ09h1uTH+4mnY+QL4mO1lCM/QCHKs4exgnCpyseRA01JKYjpj6iaBxk jfkB9Y6OMFwp24+xmHSKEEmQbrq3sT4DKsKXAk/ndELreaeQopr6RWyw3ydHZvVJyOWLZ BQiv/awmg753W2q4FMgMGg1RwRFIJubwrCV7zASnp4WApbxB5aW5ebRarbnNkTz65IpK1 gYYUx2gFe0sIF5EBU4K0bjN7n8mviE6oNNJImKhoMvsat0pCyPhOUvJ0EIZTwqzfrH2Nd kvfj1hc9ZA92bk4zipLyE+EIY66v6cJa0fxVnUPg8brXaFRXuHkWQqSEQVm5aHqRIXA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=wyuan.org; spf=pass smtp.mailfrom=wyuan.org; dkim=pass header.d=wyuan.org header.i=@wyuan.org header.a=rsa-sha256 header.s=key1 header.b=ECfFWCr2; arc=none smtp.remote-ip=95.215.58.121 Received: from mta1.migadu.com (out-121.mta1.migadu.com [95.215.58.121]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 826B9606A31A for ; Wed, 2 Dec 2026 09:37:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 826B9606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wyuan.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wyuan.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=wyuan.org header.i=@wyuan.org header.a=rsa-sha256 header.s=key1 header.b=ECfFWCr2 X-Envelope-To: linux-doc@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=kp6LulVeqT+56i7+zaQh9Il62VI3Q/VDZ8MzZJEj3Rg=; c=simple/simple; d=wyuan.org; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796204255; v=1; x=1796809055; b=ECfFWCr2mIhDWNvnAFqGABVvPWTLIGKWMeLqP7jVfQa9m8FkB19NsL6f6Kzes+rKT4KBV8Hy 30x2lXyr7cRvN64lTub15aq0GAOFMJIZnqqogmZuXeSmEhePQMkv2iKB7u5QeZE0KtViAuwpSlT tAgWssMZhkWSqI56Y+BSp40jka8f4MkdcacuBA1r8RLVsOZBwpbeIcZW79n/xuQTmHv+Mn9k3MF AcRxY59XyGls7WKvUry3j92a4FZ62DmdyszqeQbG28v9QR5E39xeRZNS01StmvGPYBg9uLBfyNI 4AMdVUpN3/HKU63q/i2VrcbwVA2RzUWNDvtYR58S/vPBQ== X-Envelope-To: linux-doc@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 88a102169f687c89; Wed, 02 Dec 2026 09:37:35 +0000 X-Mizu-Trace-ID: 88a102169f687c89 X-Migadu-Flow: FLOW_OUT Date: Wed, 2 Dec 2026 17:37:32 +0800 From: Weijie Yuan To: Chen-Yu Yeh 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 Message-ID: References: <20261123110217.170025-1-chenyou910331@gmail.com> <20261123110217.170025-20-chenyou910331@gmail.com> X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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 Nice job! Reviewed-by: Weijie Yuan Thanks. > --- > .../zh_TW/process/coding-style.rst | 286 +++++++++++------- > 1 file changed, 185 insertions(+), 101 deletions(-)