diff options
author | Chen Zhou <chenzhou10@huawei.com> | 2020-05-09 16:56:08 +0800 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-06-16 13:44:05 +0200 |
commit | 99448016ac792ac096def056828ab72c21f8582b (patch) | |
tree | 73724f1db7cd634d4d946eb44cdd5dcccca7c682 /arch/s390/kernel/vdso64/Makefile | |
parent | 92fd356514b7505f40ca72b38ef84070e6502a70 (diff) | |
download | linux-99448016ac792ac096def056828ab72c21f8582b.tar.bz2 |
s390/protvirt: use scnprintf() instead of snprintf()
snprintf() returns the number of bytes that would be written,
which may be greater than the the actual length to be written.
uv_query_facilities() should return the number of bytes printed
into the buffer. This is the return value of scnprintf().
The other functions are the same.
Link: https://lkml.kernel.org/r/20200509085608.41061-4-chenzhou10@huawei.com
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso64/Makefile')
0 files changed, 0 insertions, 0 deletions