Skip to contentSkip to conversation

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

PATCH In review JiaLong.Yang 4 participants 4 messages Dec 19, 2023 – Dec 20, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 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
index 59c6efb3fc41..cafa01bccff2 100644
@@ -100,7 +100,7 @@ printk()的用法通常是这样的::
 
 为了调试,还有两个有条件编译的宏:
 pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了
-``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。
+``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。
 
 
 函数接口
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 10 lines · JiaLong.Yang
---
 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 +0 -0
index 59c6efb3fc41..cafa01bccff2 100644

Documentation/translations/zh_CN/core-api/printk-basics.rst printk()的用法通常是这样的:: · line 104

Quoted 6 lines
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`` ),否则它们不会被编译。
 

This patch needs an actual changelog. Being illiterate in Chinese, I can't make any connection between the subject line and what has actually been done here.

Thanks,

jon

Reviewed-by
#2 lore raw
Quoted 13 lines · Jonathan Corbet
Quoted 11 lines · JiaLong.Yang
---
 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 +0 -0
index 59c6efb3fc41..cafa01bccff2 100644
@@ -100,7 +100,7 @@ printk()的用法通常是这样的::
 
Quoted 9 lines

Documentation/translations/zh_CN/core-api/printk-basics.rst printk()的用法通常是这样的:: · line 104

Quoted 5 lines
Documentation/translations/zh_CN/core-api/printk-basics.rst +1 -1
 为了调试,还有两个有条件编译的宏:
 pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了
-``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。
+``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。
 

This patch needs an actual changelog. Being illiterate in Chinese, I can't make any connection between the subject line and what has actually been done here.

Agreed. The change itself looks correct though, feel free to add my

in your next revision (with Jon's suggestion addressed).

Thanks,
Zenghui

#3 lore raw
In reply to Jonathan Corbet

Hi JiaLong,

Quoted 13 lines · Jonathan Corbet
Quoted 11 lines · JiaLong.Yang
---
  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 +0 -0
index 59c6efb3fc41..cafa01bccff2 100644
@@ -100,7 +100,7 @@ printk()的用法通常是这样的::
 
Quoted 8 lines

Documentation/translations/zh_CN/core-api/printk-basics.rst printk()的用法通常是这样的:: · line 104

Quoted 5 lines
Documentation/translations/zh_CN/core-api/printk-basics.rst +1 -1
  为了调试,还有两个有条件编译的宏:
  pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了
-``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。
+``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。
 

This patch needs an actual changelog. Being illiterate in Chinese, I can't make any connection between the subject line and what has actually been done here.

As jon said, could you please write a commit message?

For details see: .../Documentation/translations/zh_CN/process/5.Posting.rst

Thanks,

Yanteng

Quoted 4 lines

Thanks,

jon