diff options
| author | 2019-01-25 08:01:46 -0500 | |
|---|---|---|
| committer | 2019-03-19 16:33:46 -0400 | |
| commit | e7dd89cef16021ad0dd5a590d3d2090bf65e3ec2 (patch) | |
| tree | 5561f46ece2e6ae9308dcf9a3cd55607643f4f80 /tools/perf/scripts/python/netdev-times.py | |
| parent | media: vimc: stream: init/terminate the first entity (diff) | |
media: strscpy() returns a negative value on failure unlike strlcpy().
strscpy() returns a negative value on failure unlike strlcpy(),
so fix the WARN_ON accordingly.
Signed-off-by: Hans Petter Selasky <hps@selasky.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: added commit message]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
