Re: [PATCH v2] media: replace strncpy() by strscpy()

2019-03-29 Thread Hans Verkuil
On 3/29/19 3:02 PM, Mauro Carvalho Chehab wrote: > The strncpy() function is being deprecated upstream. Replace > it by the safer strscpy(). > > While here, replace a few occurences of strlcpy() that were > recently added to also use strscpy(). > > Signed-off-by: Mauro Carvalho Chehab > --- > d

[PATCH v2] media: replace strncpy() by strscpy()

2019-03-29 Thread Mauro Carvalho Chehab
The strncpy() function is being deprecated upstream. Replace it by the safer strscpy(). While here, replace a few occurences of strlcpy() that were recently added to also use strscpy(). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/as102_fe.c | 2 +- drivers/me