diff options
| author | Hans Verkuil <[email protected]> | 2018-05-14 09:01:25 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-05-25 15:33:14 -0400 |
| commit | bcab64e8762379d67b7b3bb19ec3884394f10b95 (patch) | |
| tree | de930b504a4b8e2ed2c32e2e00935cf3d0c732af /tools/perf/scripts/python | |
| parent | b37705d333c8cf8969ce7ffeb345347a5e7a895f (diff) | |
media: imx: fix compiler warning
drivers/staging/media/imx/imx-media-capture.c: In function 'vidioc_querycap':
drivers/staging/media/imx/imx-media-capture.c:76:2: warning: 'strncpy' output truncated copying 15 bytes from a string of length 17 [-Wstringop-truncation]
strncpy(cap->driver, "imx-media-capture", sizeof(cap->driver) - 1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Steve Longerbeam <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions