diff options
author | Md Haris Iqbal <[email protected]> | 2021-09-22 14:53:27 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-10-04 16:46:11 -0300 |
commit | 2f232912feec57d73b22cb26dcdf687846917e9e (patch) | |
tree | 593d66b65052f211efa4e464caf7ba599585e19b /tools/perf/scripts/python | |
parent | 99cfddb8a8bd57122effa808653dec83408705a6 (diff) |
RDMA/rtrs: 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.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Md Haris Iqbal <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions