]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b778b4f381e5a0696c153ac7415463dc9a52ecf
treeff27b55e678687db1c1eabb4f89436d9208f8e21
parent2e5e0434c480e9991f39fadad85ee7e81f312304
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