Commit 15a0b3fb authored by Ilya Dryomov's avatar Ilya Dryomov Committed by 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: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent c98be0c9
...@@ -199,11 +199,11 @@ struct va_format: ...@@ -199,11 +199,11 @@ struct va_format:
Do not use this feature without some mechanism to verify the Do not use this feature without some mechanism to verify the
correctness of the format string and va_list arguments. 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); printk("%llu", u64_var);
s64 SHOULD be printed with %lld/%llx, (long long): s64 SHOULD be printed with %lld/%llx:
printk("%lld", s64_var); printk("%lld", s64_var);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment