Re: [PATCH] s390: move from strlcpy with unused retval to strscpy
From: Alexander Gordeev
Date: Mon Aug 22 2022 - 04:06:24 EST
On Thu, Aug 18, 2022 at 11:01:01PM +0200, Wolfram Sang wrote:
Hi Wolfram,
> 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.
Could you please explain why you skipped strlcpy() usage in
drivers/s390/char/diag_ftp.c and drivers/s390/char/sclp_ftp.c?
Thanks!