Re: [PATCH] s390: move from strlcpy with unused retval to strscpy

From: Alexandra Winter
Date: Fri Aug 19 2022 - 04:09:28 EST




On 18.08.22 23:01, Wolfram Sang wrote:
> 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@xxxxxxxxxxxxxx/
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/s390/block/dasd_devmap.c | 2 +-
> drivers/s390/block/dasd_eer.c | 4 ++--
> drivers/s390/block/dcssblk.c | 2 +-
> drivers/s390/char/hmcdrv_cache.c | 2 +-
> drivers/s390/char/tape_class.c | 4 ++--
> drivers/s390/cio/qdio_debug.c | 2 +-
> drivers/s390/net/ctcm_main.c | 2 +-
> drivers/s390/net/fsm.c | 2 +-
> drivers/s390/net/qeth_ethtool.c | 4 ++--
> drivers/s390/scsi/zfcp_aux.c | 2 +-
> drivers/s390/scsi/zfcp_fc.c | 2 +-
> 11 files changed, 14 insertions(+), 14 deletions(-)
>


Thank you. Ack'ed for drivers/s390/net and drivers/s390/cio
Acked-by: Alexandra Winter <wintera@xxxxxxxxxxxxx>