aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorXu Panda <[email protected]>2022-12-03 06:22:58 +0000
committerJens Axboe <[email protected]>2023-08-23 00:07:50 +0000
commit146afeb235ccec10c17ad8ea26327c0c79dbd968 (patch)
tree737fad9a7d7fecfeb94966fca627908c336e4444 /drivers/md/dm-raid.c
parentblock: sed-opal: keyring support for SED keys (diff)
downloadkernel-146afeb235ccec10c17ad8ea26327c0c79dbd968.tar.gz
kernel-146afeb235ccec10c17ad8ea26327c0c79dbd968.zip
block: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Signed-off-by: Xu Panda <[email protected]> Signed-off-by: Yang Yang <[email protected]> Reviewed-by: Justin Stitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions