linux_dsm_epyc7002/drivers/media/usb/dvb-usb
Mauro Carvalho Chehab 2b56f16e34 media: gp8psk: initialize stats at power control logic
commit d0ac1a26ed5943127cb0156148735f5f52a07075 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-06 14:56:52 +01: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
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
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
dib0700_core.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dib0700_devices.c Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
dib0700.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02: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
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
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 treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dw2102.h
gp8psk.c media: gp8psk: initialize stats at power control logic 2021-01-06 14:56:52 +01:00
gp8psk.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
Kconfig media: dvb_usb_pctv452e: use ISL6423 voltage regulator per default 2020-09-03 16:14:59 +02:00
m920x.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
m920x.h
Makefile media: cxusb: add analog mode support for Medion MD95700 2019-05-28 16:03:12 -04: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
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