diff options
| author | Dima Stepanov <[email protected]> | 2021-05-28 13:30:05 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-05-28 20:52:58 -0300 |
| commit | 2d612f0d3d4b4cddc37b036771771ecc6d592c4d (patch) | |
| tree | 4be76ab53786d2360041bdf9dd2517f49ae75260 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 3f3d0eabc14b6ea1fcbe85a60ee9d44e2b930b8a (diff) | |
RDMA/rtrs: Use strscpy instead of strlcpy
During checkpatch analyzing the following warning message was found:
WARNING:STRLCPY: Prefer strscpy over strlcpy - see:
https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Fix it by using strscpy calls instead of strlcpy.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Gioh Kim <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions