diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-05-14 14:57:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-25 21:31:23 +0200 |
commit | b37705d333c8cf8969ce7ffeb345347a5e7a895f (patch) | |
tree | a25a7f6e2c46bb855cf1a37a632abf35d2d08d84 /virt | |
parent | media: s5p-mfc: fix two sparse warnings (diff) | |
download | linux-b37705d333c8cf8969ce7ffeb345347a5e7a895f.tar.xz linux-b37705d333c8cf8969ce7ffeb345347a5e7a895f.zip |
media: hdpvr: fix compiler warning
In function 'strncpy',
inlined from 'vidioc_g_audio' at media-git/drivers/media/usb/hdpvr/hdpvr-video.c:876:2:
media-git/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
return __builtin_strncpy(p, q, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions