summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-04-07 13:43:52 +0400
committerJiri Kosina <jkosina@suse.cz>2014-05-05 15:32:42 +0200
commit15a0b3fba4e6770a3a6ce488b8de1350cc6a4bed (patch)
tree019ee503f88e5c92d2f490c536b4d419f63fb812
parentc98be0c96db00e9b6b02d31e0fa7590c54cdaaac (diff)
downloadtalos-op-linux-15a0b3fba4e6770a3a6ce488b8de1350cc6a4bed.tar.gz
talos-op-linux-15a0b3fba4e6770a3a6ce488b8de1350cc6a4bed.zip
doc: printk-formats: do not mention casts for u64/s64
Do not mention casts for u64/s64. Complements commit 2a7930bd77fe ("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>
-rw-r--r--Documentation/printk-formats.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt
index 6f4eb322ffaf..b4498218c474 100644
--- a/Documentation/printk-formats.txt
+++ b/Documentation/printk-formats.txt
@@ -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);
OpenPOWER on IntegriCloud