1
0
Fork 0

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

Do not mention casts for u64/s64.  Complements commit 2a7930bd77
("Documentation/printk-formats.txt: No casts needed for u64/s64").

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
hifive-unleashed-5.1
Ilya Dryomov 2014-04-07 13:43:52 +04:00 committed by Jiri Kosina
parent c98be0c96d
commit 15a0b3fba4
1 changed files with 2 additions and 2 deletions

View File

@ -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);