diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-01 17:05:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-11 13:16:08 -0500 |
commit | a9cb97c3e628902e37583d8a40bb28cf76522cf1 (patch) | |
tree | 72b94e9ee114cc1be38f2cb622d9fe35933a8676 /include/linux/mc146818rtc.h | |
parent | media: xc5000: better handle I2C error messages (diff) | |
download | linux-dev-a9cb97c3e628902e37583d8a40bb28cf76522cf1.tar.xz linux-dev-a9cb97c3e628902e37583d8a40bb28cf76522cf1.zip |
media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code
As smatch warned:
drivers/media/dvb-core/dvb_frontend.c:2468 dvb_frontend_handle_ioctl() error: uninitialized symbol 'err'.
The ioctl handler actually got a regression here: before changeset
d73dcf0cdb95 ("media: dvb_frontend: cleanup ioctl handling logic"),
the code used to return -EOPNOTSUPP if an ioctl handler was not
implemented on a driver. After the change, it may return a random
value.
Fixes: d73dcf0cdb95 ("media: dvb_frontend: cleanup ioctl handling logic")
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Tested-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/mc146818rtc.h')
0 files changed, 0 insertions, 0 deletions