OSDN Git Service

MIPS: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 20:59:43 +0000 (22:59 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 12 Sep 2022 13:34:04 +0000 (15:34 +0200)
commit877336c1856ea4277994ba7cdd8aede416e75a4e
treeff27b55e678687db1c1eabb4f89436d9208f8e21
parentedeed42402cebd9147b484d6df9964869bdc0681
MIPS: 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: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/prom.c
arch/mips/kernel/relocate.c
arch/mips/pic32/pic32mzda/init.c