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>
This commit is contained in:
parent
c98be0c96d
commit
15a0b3fba4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue