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

Docs/zh_CN: Fix the meaning of DEBUG to pr_debug()

We know the macro DEBUG will make pr_debug() save the formatted
string into final binary. But the translation in chinese gives a
opposite meaning.

Signed-off-by: "JiaLong.Yang" <jialong.yang@shingroup.cn>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Acked-by: Yanteng Si <siyanteng@loongson.cn>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231221055832.4374-1-jialong.yang@shingroup.cn

authored by

JiaLong.Yang and committed by
Jonathan Corbet
0587e62b bb67bf1c

+1 -1
+1 -1
Documentation/translations/zh_CN/core-api/printk-basics.rst
··· 100 100 101 101 为了调试,还有两个有条件编译的宏: 102 102 pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 103 - ``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 103 + ``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 104 104 105 105 106 106 函数接口