diff options
| author | Chen Zhou <[email protected]> | 2020-05-09 08:56:08 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2020-06-16 11:44:05 +0000 |
| commit | 99448016ac792ac096def056828ab72c21f8582b (patch) | |
| tree | 73724f1db7cd634d4d946eb44cdd5dcccca7c682 /tools/perf/scripts/python/sched-migration.py | |
| parent | s390: use scnprintf() in sys_##_prefix##_##_name##_show (diff) | |
| download | kernel-99448016ac792ac096def056828ab72c21f8582b.tar.gz kernel-99448016ac792ac096def056828ab72c21f8582b.zip | |
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/[email protected]
Signed-off-by: Chen Zhou <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
