diff options
author | Jason Gunthorpe | 2012-12-18 00:59:58 +0100 |
---|---|---|
committer | Linus Torvalds | 2012-12-18 02:15:13 +0100 |
commit | ef12496022d5917cfe0b04cf8fd685fc6bc08400 (patch) | |
tree | 0dde49b464f3d06f1279c6262e2b3d9800893e1d /MAINTAINERS | |
parent | printk: boot_delay should only affect output (diff) | |
download | kernel-qcow2-linux-ef12496022d5917cfe0b04cf8fd685fc6bc08400.tar.gz kernel-qcow2-linux-ef12496022d5917cfe0b04cf8fd685fc6bc08400.tar.xz kernel-qcow2-linux-ef12496022d5917cfe0b04cf8fd685fc6bc08400.zip |
lib/vsprintf.c: fix handling of %zd when using ssize_t
Documentation/printk-formats.txt says to use %zd for a ssize_t argument
and some drivers do. Unfortunately this prints a positive number for
negative values eg:
tpm_tis 70030000.tpm_tis: tpm_transmit: tpm_send: error 4294967234
Add a case to va_args a ssize_t type if the interpretation should be
signed.
Tested on PPC32.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions