]> git.baikalelectronics.ru Git - kernel.git/commit
Input: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 22:05:06 +0000 (15:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Aug 2022 22:44:08 +0000 (15:44 -0700)
commitb97c54a23a1dc612e525da57d796fde0cad0a8d8
tree9543a9568c7675a456ee4927c97cde1aff8bf121
parent90e073cd29a926494bcbdb350d29a5bd8a87c833
Input: 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.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220818210022.6865-1-wsa+renesas@sang-engineering.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
35 files changed:
drivers/input/keyboard/lkkbd.c
drivers/input/misc/keyspan_remote.c
drivers/input/mouse/hgpk.c
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics_usb.c
drivers/input/mouse/vsxxxaa.c
drivers/input/rmi4/rmi_f03.c
drivers/input/rmi4/rmi_f54.c
drivers/input/serio/altera_ps2.c
drivers/input/serio/ambakmi.c
drivers/input/serio/ams_delta_serio.c
drivers/input/serio/apbps2.c
drivers/input/serio/ct82c710.c
drivers/input/serio/gscps2.c
drivers/input/serio/hyperv-keyboard.c
drivers/input/serio/i8042-x86ia64io.h
drivers/input/serio/i8042.c
drivers/input/serio/olpc_apsp.c
drivers/input/serio/parkbd.c
drivers/input/serio/pcips2.c
drivers/input/serio/ps2-gpio.c
drivers/input/serio/ps2mult.c
drivers/input/serio/q40kbd.c
drivers/input/serio/rpckbd.c
drivers/input/serio/sa1111ps2.c
drivers/input/serio/serport.c
drivers/input/serio/sun4i-ps2.c
drivers/input/tablet/acecad.c
drivers/input/tablet/hanwang.c
drivers/input/tablet/pegasus_notetaker.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/input/touchscreen/edt-ft5x06.c
drivers/input/touchscreen/sur40.c
drivers/input/touchscreen/usbtouchscreen.c
drivers/input/touchscreen/wacom_w8001.c