Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs/zh_CN: update the translation of process/coding-style.rst

Update to commit c5d436f05a3f ("docs/process: fix typos")

scripts/checktransupdate.py reports:

Documentation/translations/zh_CN/process/coding-style.rst
commit c5d436f05a3f ("docs/process: fix typos")
commit 82b8000c28b5 ("net: drop special comment style")
2 commits needs resolving in total

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241018014609.3781089-1-dzm91@hust.edu.cn

authored by

Dongliang Mu and committed by
Jonathan Corbet
5ca1c920 f63874b2

-11
-11
Documentation/translations/zh_CN/process/coding-style.rst
··· 560 560 * with beginning and ending almost-blank lines. 561 561 */ 562 562 563 - 对于在 net/ 和 drivers/net/ 的文件,首选的长 (多行) 注释风格有些不同。 564 - 565 - .. code-block:: c 566 - 567 - /* The preferred comment style for files in net/ and drivers/net 568 - * looks like this. 569 - * 570 - * It is nearly the same as the generally preferred comment style, 571 - * but there is no initial almost-blank line. 572 - */ 573 - 574 563 注释数据也是很重要的,不管是基本类型还是衍生类型。为了方便实现这一点,每一行 575 564 应只声明一个数据 (不要使用逗号来一次声明多个数据)。这样你就有空间来为每个数据 576 565 写一段小注释来解释它们的用途了。