]> git.baikalelectronics.ru Git - kernel.git/commit
char: move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Aug 2022 20:59:59 +0000 (22:59 +0200)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 4 Oct 2022 21:25:56 +0000 (00:25 +0300)
commit09051bd7ddc1d958b32f17a723d537b48d8c58a2
treee9354bdda642663f24eb0693e6814e89c7e90d41
parentcd962d61087ba5774d85fb8749a1b9e527177ac7
char: 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: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_ppi.c