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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue