diff options
author | 2021-07-26 13:59:50 +0200 | |
---|---|---|
committer | 2021-08-02 13:37:40 -0600 | |
commit | 3087b335b5316cd180aa4c5a28abaa890905634e (patch) | |
tree | bcd7af3f9ddc0ea7d8f63b61092587dc582108cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block/rnbd-clt: Use put_cpu_ptr after get_cpu_ptr (diff) | |
download | wireguard-linux-3087b335b5316cd180aa4c5a28abaa890905634e.tar.xz wireguard-linux-3087b335b5316cd180aa4c5a28abaa890905634e.zip |
block/rnbd: Use sysfs_emit instead of s*printf function for sysfs show
sysfs_emit function was added to be aware of the PAGE_SIZE maximum of
the temporary buffer used for outputting sysfs content, so there is no
possible overruns. So replace the uses of any s*printf functions for
the sysfs show functions with sysfs_emit.
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20210726115950.470543-3-jinpu.wang@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions