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

Alexandra Winter
2022-08-19T08:09:25Z

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@mail.gmail.com/
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> 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@linux.ibm.com>