diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-03-28 15:41:38 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-29 12:44:12 +0100 |
commit | b4a7113f84128ed0acbc5ff886bd5cf4d87ab733 (patch) | |
tree | 5b5984b0d7e4eda050da57a4f30ed70df7c4594c /drivers/media/dvb-frontends/si2165.h | |
parent | media: wl128x: prevent two potential buffer overflows (diff) | |
download | linux-b4a7113f84128ed0acbc5ff886bd5cf4d87ab733.tar.xz 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 'drivers/media/dvb-frontends/si2165.h')
0 files changed, 0 insertions, 0 deletions