From: JiaLong.Yang Date: Thu, 21 Dec 2023 05:58:32 +0000 (+0800) Subject: Docs/zh_CN: Fix the meaning of DEBUG to pr_debug() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0587e62bf4f36001bea60ae0fc65b54aff6f847d;p=linux.git 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" Reviewed-by: Zenghui Yu Acked-by: Yanteng Si Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20231221055832.4374-1-jialong.yang@shingroup.cn --- diff --git a/Documentation/translations/zh_CN/core-api/printk-basics.rst b/Documentation/translations/zh_CN/core-api/printk-basics.rst index 59c6efb3fc41b..cafa01bccff29 100644 --- a/Documentation/translations/zh_CN/core-api/printk-basics.rst +++ b/Documentation/translations/zh_CN/core-api/printk-basics.rst @@ -100,7 +100,7 @@ printk()的用法通常是这样的:: 为了调试,还有两个有条件编译的宏: pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 -``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 +``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 函数接口