lkml.org 
[lkml]   [2022]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-08-19 19:49    [W:0.071 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site