提交 15a0b3fb 编写于 作者: I Ilya Dryomov 提交者: Jiri Kosina

doc: printk-formats: do not mention casts for u64/s64

Do not mention casts for u64/s64.  Complements commit 2a7930bd
("Documentation/printk-formats.txt: No casts needed for u64/s64").
Signed-off-by: NIlya Dryomov <ilya.dryomov@inktank.com>
Acked-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 c98be0c9
......@@ -199,11 +199,11 @@ struct va_format:
Do not use this feature without some mechanism to verify the
correctness of the format string and va_list arguments.
u64 SHOULD be printed with %llu/%llx, (unsigned long long):
u64 SHOULD be printed with %llu/%llx:
printk("%llu", u64_var);
s64 SHOULD be printed with %lld/%llx, (long long):
s64 SHOULD be printed with %lld/%llx:
printk("%lld", s64_var);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册