Docs/zh_CN: Fix the meaning of DEBUG to pr_debug()
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 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. So the translation is a little wrong.
--- Documentation/translations/zh_CN/core-api/printk-basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/core-api/printk-basics.rst +1 -1
@@ -100,7 +100,7 @@ printk()的用法通常是这样的:: 为了调试,还有两个有条件编译的宏: pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 -``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 +``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 函数接口
Signature · 1 line
2.25.1
Quoted 4 lines · JiaLong.Yang
We know the macro DEBUG will make
pr_debug()save the formatted string into final binary. So the translation is a little wrong.Signed-off-by JiaLong.Yang <[email protected]>
BTW, you lost Zenghui's Reviewed-by tag. :)
Thanks,
Yanteng
Quoted 17 lines
--- Documentation/translations/zh_CN/core-api/printk-basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/translations/zh_CN/core-api/printk-basics.rst +1
-1@@ -100,7 +100,7 @@ printk()的用法通常是这样的:: 为了调试,还有两个有条件编译的宏: pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 -``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 +``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 函数接口
PATCH v2 1/1 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.
---
V2: add commit info.
Maybe now I have known about the process of patch. Sorry for wasting time of yours.
Documentation/translations/zh_CN/core-api/printk-basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/translations/zh_CN/core-api/printk-basics.rst +1 -1
@@ -100,7 +100,7 @@ printk()的用法通常是这样的:: 为了调试,还有两个有条件编译的宏: pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 -``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 +``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 函数接口
Signature · 1 line
2.25.1
Quoted 9 lines · JiaLong.Yang
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.
Quoted 5 lines
---
V2: add commit info.
Maybe now I have known about the process of patch. Sorry for wasting time of yours.
Applied, thanks.
jon