Re: [PATCH] iio: move from strlcpy with unused retval to strscpy
From: Jonathan Cameron
Date: Fri Aug 19 2022 - 13:48:21 EST
On Fri, 19 Aug 2022 11:07:56 +0300
Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> On Fri, Aug 19, 2022 at 12:02 AM Wolfram Sang
> <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> 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.
>
> Same comments as per similar patch you submit to PDx86.
>
Given it was an easy split, I've turned this into two patches
and applied those to the togreg branch of iio.git - initially pushed
out as testing for 0-day to poke at it.
Thanks,
Jonathan