soc: qcom: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:01:06 +0000 (23:01 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:19:39 +0000 (13:19 -0500)
commit3f54a39819324e7adba8ff3c0e2bd97f218bb956
tree5e66dc888eceae17c6188de8caffe10d409f5c65
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
soc: qcom: move from strlcpy with unused retval to strscpy

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: Wolfram Sang <wsa+renesas@sang-engineering.com>
[bjorn: Only applied qcom-part of patch]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220818210106.7349-1-wsa+renesas@sang-engineering.com
drivers/soc/qcom/smp2p.c