um: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 20:59:51 +0000 (22:59 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 19 Sep 2022 20:45:24 +0000 (22:45 +0200)
commite6e4d33f380fbfd85b909d16c9b639299e5c37a6
tree732ab4ba223790d439690a97408b7b4dc6a4feda
parent0d644e918532f7eba2b02e0eaf60ee1a1b20a856
um: 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: Richard Weinberger <richard@nod.at>
arch/um/drivers/net_kern.c
arch/um/drivers/vector_kern.c
arch/um/kernel/um_arch.c