]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 21:00:29 +0000 (23:00 +0200)
committerLee Jones <lee@kernel.org>
Wed, 28 Sep 2022 15:17:39 +0000 (16:17 +0100)
commit57ccb4fd4fffea9858436e34bde925a399ed396f
treebdf35f7612b615b9555e6fbe670c0805cdc1b46b
parent36b12d44c9b0db91fc456a4177bdfeeedb31d76a
mfd: 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: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220818210030.7012-1-wsa+renesas@sang-engineering.com
drivers/mfd/htc-i2cpld.c
drivers/mfd/lpc_ich.c
drivers/mfd/mfd-core.c