rpmsg: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:01:00 +0000 (23:01 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 15:47:41 +0000 (09:47 -0600)
commitd2ff0f84c1156dfd3646a4ca682b38413b409aa0
treebfe8afc97192a0af061886a1be5dec5b28d05d25
parent1135e93682db5f66909f4785b1bfbd798955b2b1
rpmsg: 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>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220818210100.7277-1-wsa+renesas@sang-engineering.com
drivers/rpmsg/qcom_glink_ssr.c