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

Vasily Gorbik
2022-08-23T16:26:12Z

On Mon, Aug 22, 2022 at 06:02:49PM -0700, Jakub Kicinski wrote:
> On Thu, 18 Aug 2022 23:01:01 +0200 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 +-
>
> I'm assuming this will go via the s390 tree?

Yes, I'll just take it via s390 tree. Thanks

>
> Acked-by: Jakub Kicinski <kuba@kernel.org>
>
> If nobody picks it up please feel free to resend the networking parts to us.