Re: [PATCH] Documentation/printf: Use literal fwnode_handle

From: Kunwu Chan
Date: Mon Aug 11 2025 - 04:29:18 EST


On 2025/8/7 15:36, Geert Uytterhoeven wrote:
When looking for fwnode_handle in the printk format documentation, it is
only found in the Chinese translation:

$ git grep fwnode_handle -- Documentation/*printk-formats.rst
Documentation/translations/zh_CN/core-api/printk-formats.rst:用于打印fwnode_handles的消息。默认情况下是打印完整的节点名称,包括路径。

This happens because the original documentation talks about "fwnode
handles", without mentioning the actual type name.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
Documentation/core-api/printk-formats.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
index 4b7f3646ec6ce028..7f2f11b482865175 100644
--- a/Documentation/core-api/printk-formats.rst
+++ b/Documentation/core-api/printk-formats.rst
@@ -521,7 +521,7 @@ Fwnode handles
%pfw[fP]
-For printing information on fwnode handles. The default is to print the full
+For printing information on an fwnode_handle. The default is to print the full
node name, including the path. The modifiers are functionally equivalent to
%pOF above.

Thanks for the patch.

After apply this patch, test result:

#  git grep fwnode_handle -- Documentation/*printk-formats.rst
Documentation/core-api/printk-formats.rst:For printing information on an fwnode_handle. The default is to print the full
Documentation/translations/zh_CN/core-api/printk-formats.rst:用于打印fwnode_handles的消息。默认情况下是
打印完整的节点名称,包括路径。
#

Tested-by: Kunwu Chan <kunwu.chan@xxxxxxxxx>

Reviewed-by: Kunwu Chan <kunwu.chan@xxxxxxxxx>


--
Thanks,
Kunwu Chan.