linux-uconsole/drivers/media/dvb/ttpci
Bjørn Mork 65f202baf5 V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference"
commit 6f550dc083 upstream.

Never call dvb_frontend_detach if we failed to attach a frontend. This fixes
the following oops, which will be triggered by a missing stv090x module:

[    8.172997] DVB: registering new adapter (TT-Budget S2-1600 PCI)
[    8.209018] adapter has MAC addr = 00:d0:5c:cc:a7:29
[    8.328665] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    8.328753] Intel ICH 0000:00:1f.5: setting latency timer to 64
[    8.562047] DVB: Unable to find symbol stv090x_attach()
[    8.562117] BUG: unable to handle kernel NULL pointer dereference at 000000ac
[    8.562239] IP: [<e08b04a3>] dvb_frontend_detach+0x4/0x67 [dvb_core]

Ref http://bugs.debian.org/575207

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-12 14:57:15 -07:00
..
av7110.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
av7110.h V4L/DVB (8889): dvb-ttpci: Support full-ts hardware modification 2008-10-12 09:36:56 -02:00
av7110_av.c V4L/DVB (11763): dvb-ttpci: Some whitespace adjustments 2009-06-16 18:21:02 -03:00
av7110_av.h V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code 2008-01-25 19:01:52 -02:00
av7110_ca.c V4L/DVB (10391): dvb: constify VFTs 2009-03-30 12:42:34 -03:00
av7110_ca.h
av7110_hw.c V4L/DVB (11569): av7110_hw: fix compile warning 2009-06-16 18:20:37 -03:00
av7110_hw.h firmware: convert av7110 driver to request_firmware() 2009-04-06 14:34:12 -07:00
av7110_ipack.c
av7110_ipack.h
av7110_ir.c V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
av7110_v4l.c V4L/DVB (12199): remove redundant tests on unsigned 2009-09-12 12:17:23 -03:00
budget-av.c V4L/DVB: cleanup redundant tests on unsigned 2009-06-16 18:20:58 -03:00
budget-ci.c V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
budget-core.c V4L/DVB (8964): dvb/budget: push adapter_nr mod option down to individual drivers 2008-10-12 09:37:02 -02:00
budget-patch.c V4L/DVB (8964): dvb/budget: push adapter_nr mod option down to individual drivers 2008-10-12 09:37:02 -02:00
budget.c V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference" 2010-05-12 14:57:15 -07:00
budget.h V4L/DVB (9395): Add initial support for two KNC1 DVB-S2 boards 2008-12-29 17:53:15 -02:00
Kconfig V4L/DVB (12153): ttpci: config TTPCI_EEPROM depends on I2C 2009-07-05 14:29:55 -03:00
Makefile Remove fdump tool for av7110 firmware 2009-04-06 14:34:44 -07:00
ttpci-eeprom.c V4L/DVB (7515): media/dvb/ttpci replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ttpci-eeprom.h