linux/drivers/media/dvb-core
Mauro Carvalho Chehab a9cb97c3e6 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
d73dcf0cdb ("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: d73dcf0cdb ("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>
2017-12-11 13:16:08 -05:00
..
demux.h media: dvb-core/demux.h: fix kernel-doc warning 2017-07-21 08:01:08 -04:00
dmxdev.c media: dvb-core: Convert timers to use timer_setup() 2017-10-31 06:40:30 -04:00
dmxdev.h media: dmxdev.h: add kernel-doc markups for data types and functions 2017-10-11 13:21:22 -04:00
dvb_ca_en50221.c media: dvb_ca_en50221: fix lots of documentation warnings 2017-11-27 08:27:13 -05:00
dvb_ca_en50221.h media: dvb_ca_en50221.h: fix checkpatch strict warnings 2017-07-20 15:47:07 -04:00
dvb_demux.c media: dvb_demux.h: document structs defined on it 2017-10-11 13:18:33 -04:00
dvb_demux.h media: dvb: do some coding style cleanup 2017-10-11 13:51:41 -04:00
dvb_frontend.c media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code 2017-12-11 13:16:08 -05:00
dvb_frontend.h media: dvb_frontend.h: improve kernel-doc markups 2017-10-11 13:01:35 -04:00
dvb_math.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb_math.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb_net.c media: dvb_net: stop abusing /** for comments 2017-11-27 10:35:34 -05:00
dvb_net.h media: dvb-net.rst: document DVB network kAPI interface 2017-10-11 13:22:09 -04:00
dvb_ringbuffer.c locking/atomics, media/dvb_ringbuffer: Convert ACCESS_ONCE() to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:00:58 +02:00
dvb_ringbuffer.h scripts/spelling.txt: add "an user" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
dvb-usb-ids.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dvbdev.c Simplify major/minor non-dynamic logic 2017-10-11 15:32:11 -04:00
dvbdev.h media: dvbdev: fully document its functions 2017-10-11 13:01:13 -04:00
Kconfig [media] Raise adapter number limit 2016-11-23 13:28:43 -02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00