diff options
| author | Md Haris Iqbal <haris.iqbal@ionos.com> | 2021-09-22 15:53:27 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-10-04 22:46:11 +0300 |
| commit | 2f232912feec57d73b22cb26dcdf687846917e9e (patch) | |
| tree | 593d66b65052f211efa4e464caf7ba599585e19b /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 99cfddb8a8bd57122effa808653dec83408705a6 (diff) | |
| download | linux-2f232912feec57d73b22cb26dcdf687846917e9e.tar.xz | |
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/20210922125333.351454-2-haris.iqbal@ionos.com
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
