Messages in this thread | | | Date | Fri, 19 Aug 2022 18:25:39 +0100 | From | Jonathan Cameron <> | Subject | Re: [PATCH] iio: move from strlcpy with unused retval to strscpy |
| |
On Fri, 19 Aug 2022 11:07:56 +0300 Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> On Fri, Aug 19, 2022 at 12:02 AM Wolfram Sang > <wsa+renesas@sang-engineering.com> 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
| |