diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-08-19 00:01:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 15:21:59 +0300 |
commit | eb9e109d010cb79ab01d8562e851d53bcecf059b (patch) | |
tree | 479bf03a9f1ff1150b429eb0864a2eb05a7114dd /drivers/tty/serial/sccnxp.c | |
parent | bf93e887e2a1358a29ed4cd3be46cede903e01e1 (diff) | |
download | linux-eb9e109d010cb79ab01d8562e851d53bcecf059b.tar.xz |
tty: 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/
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220818210113.7469-1-wsa+renesas@sang-engineering.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions