commit | 2d612f0d3d4b4cddc37b036771771ecc6d592c4d | [log] [tgz] |
---|---|---|
author | Dima Stepanov <dmitrii.stepanov@cloud.ionos.com> | Fri May 28 13:30:05 2021 +0200 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Fri May 28 20:52:58 2021 -0300 |
tree | 4be76ab53786d2360041bdf9dd2517f49ae75260 | |
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/20210528113018.52290-8-jinpu.wang@ionos.com Signed-off-by: Dima Stepanov <dmitrii.stepanov@ionos.com> Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com> Signed-off-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>