diff options
| author | Hans Petter Selasky <[email protected]> | 2019-01-25 08:01:46 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-19 16:33:46 -0400 |
| commit | e7dd89cef16021ad0dd5a590d3d2090bf65e3ec2 (patch) | |
| tree | 5561f46ece2e6ae9308dcf9a3cd55607643f4f80 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6f3f3e11999b192e39404c49b584b7aca4cb1ecd (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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[[email protected]: added commit message]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions