commit | df2b23861878f0128083f0d328ca2cfc6e721120 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon May 14 09:09:37 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Fri May 25 15:34:04 2018 -0400 |
tree | c677617b6cdbdebe361c2ca848cbf9eee1cb2fb1 | |
parent | 660f059782616aa883bd4e16dbb3c56961275c4e [diff] |
media: soc_camera: fix compiler warning In function 'strncpy', inlined from 'soc_camera_platform_probe' at drivers/media/platform/soc_camera/soc_camera_platform.c:162:2: 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>