mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
media: m2m-deinterlace: Fix misuse of strscpy
Probable cut&paste typo - use the correct field size. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
ed2cea4f95
commit
f2180adfd7
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ static int vidioc_querycap(struct file *file, void *priv,
|
|||
{
|
||||
strscpy(cap->driver, MEM2MEM_NAME, sizeof(cap->driver));
|
||||
strscpy(cap->card, MEM2MEM_NAME, sizeof(cap->card));
|
||||
strscpy(cap->bus_info, MEM2MEM_NAME, sizeof(cap->card));
|
||||
strscpy(cap->bus_info, MEM2MEM_NAME, sizeof(cap->bus_info));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue