diff options
author | Gal Pressman <galpress@amazon.com> | 2021-03-29 15:01:28 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-30 17:03:22 -0300 |
commit | 7410c2d0f419d992680855811718925e6f966c63 (patch) | |
tree | 6ee1cf59b0d7cbf60f2804c593fd094ae1d2cd1e /drivers/infiniband/sw | |
parent | adb76a520d068a54ee5ca82e756cf8e5a47363a4 (diff) |
RDMA/efa: Use strscpy instead of strlcpy
The strlcpy function doesn't limit the source length, use the preferred
strscpy function instead.
Link: https://lore.kernel.org/r/20210329120131.18793-1-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions