Skip to content
Commit 19e82c83 authored by Wolfram Sang's avatar Wolfram Sang Committed by Wenlin Kang
Browse files

crypto: drivers - move from strlcpy with unused retval to strscpy

commit 6487f0faf988ce2c27e79e7a7b87131420c566e6 from
git@git.assembla.com:cavium/WindRiver.linux.git

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/


Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Change-Id: I14151061264e365f9cbd0c238ff22f9c5090ddda
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90678


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarNithin Kumar Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarWenlin Kang <wenlin.kang@windriver.com>
parent b4f30fce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment