diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-03-28 10:41:38 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-29 07:44:12 -0400 |
| commit | b4a7113f84128ed0acbc5ff886bd5cf4d87ab733 (patch) | |
| tree | 5b5984b0d7e4eda050da57a4f30ed70df7c4594c /tools/perf/scripts/python | |
| parent | media: wl128x: prevent two potential buffer overflows (diff) | |
| download | linux-b4a7113f84128ed0acbc5ff886bd5cf4d87ab733.tar.gz linux-b4a7113f84128ed0acbc5ff886bd5cf4d87ab733.zip | |
media: wl128x: Fix some error handling in fmc_prepare()
The st_register() returns have changed over time, but these days it
never returns -1. We should just be checking for any negative error
codes.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
