linux/drivers/media/usb/dvb-usb
Mauro Carvalho Chehab d0ac1a26ed media: gp8psk: initialize stats at power control logic
As reported on:
	https://lore.kernel.org/linux-media/20190627222020.45909-1-willemdebruijn.kernel@gmail.com/

if gp8psk_usb_in_op() returns an error, the status var is not
initialized. Yet, this var is used later on, in order to
identify:
	- if the device was already started;
	- if firmware has loaded;
	- if the LNBf was powered on.

Using status = 0 seems to ensure that everything will be
properly powered up.

So, instead of the proposed solution, let's just set
status = 0.

Reported-by: syzbot <syzkaller@googlegroups.com>
Reported-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-27 07:40:21 +01:00
..
Kconfig media: dvb_usb_pctv452e: use ISL6423 voltage regulator per default 2020-09-03 16:14:59 +02:00
Makefile media: cxusb: add analog mode support for Medion MD95700 2019-05-28 16:03:12 -04:00
a800.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
af9005-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
af9005-remote.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
af9005-script.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
af9005.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
af9005.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
az6027.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
az6027.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cinergyT2-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cinergyT2-fe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cinergyT2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cxusb-analog.c media: media/usb: use vb2_video_unregister_device() 2020-08-28 15:02:52 +02:00
cxusb.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
cxusb.h media: cxusb: Revert "media: cxusb: add raw mode support for, Medion MD95700" 2019-06-05 15:26:40 -04:00
dib07x0.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dib0700.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dib0700_core.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dib0700_devices.c media: dib0700: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
dibusb-common.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dibusb-mb.c media: dvb: return -EREMOTEIO on i2c transfer failure. 2020-04-21 12:55:07 +02:00
dibusb-mc-common.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dibusb-mc.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dibusb.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
digitv.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
digitv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dtt200u-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dtt200u.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dtt200u.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dtv5100.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dtv5100.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dvb-usb-common.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dvb-usb-dvb.c media: cxusb: implement Medion MD95700 digital / analog coexistence 2019-05-28 15:59:19 -04:00
dvb-usb-firmware.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dvb-usb-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
dvb-usb-init.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dvb-usb-remote.c media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
dvb-usb-urb.c media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0 2019-12-13 09:17:42 +01:00
dvb-usb.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dw2102.c media: dvb-usb: Add Hauppauge MAX S2's USB-IDs 2020-11-26 14:26:43 +01:00
dw2102.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gp8psk.c media: gp8psk: initialize stats at power control logic 2020-11-27 07:40:21 +01:00
gp8psk.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
m920x.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
m920x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nova-t-usb2.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
opera1.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
pctv452e.c media: dvb_usb_pctv452e: use ISL6423 voltage regulator per default 2020-09-03 16:14:59 +02:00
technisat-usb2.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
ttusb2.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
ttusb2.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
umt-010.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
usb-urb.c media: dvb-usb: fix spelling mistake: "completition" -> "completion" 2018-08-03 16:08:55 -04:00
vp702x-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp702x.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp702x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vp7045-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp7045.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp7045.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00