diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-11-22 08:53:25 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-12-11 19:30:18 -0800 |
commit | 3f0dad0105133ffcfa13eb0cd980fa347bcf31d7 (patch) | |
tree | c6eb0285e0f38713f240d148b5d905077bf76fbd /drivers/rapidio | |
parent | fe5759d5bfda312dd52fc81405ffc1d024b18039 (diff) | |
download | linux-stable-3f0dad0105133ffcfa13eb0cd980fa347bcf31d7.tar.gz linux-stable-3f0dad0105133ffcfa13eb0cd980fa347bcf31d7.tar.bz2 linux-stable-3f0dad0105133ffcfa13eb0cd980fa347bcf31d7.zip |
relay: use strscpy() is more robust and safer
The implementation of strscpy() is more robust and safer. That's now the
recommended way to copy NUL terminated strings.
Link: https://lkml.kernel.org/r/202211220853259244666@zte.com.cn
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
Cc: Colin Ian King <colin.i.king@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: wuchi <wuchi.zero@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions