1
linux/drivers/media/dvb
Bjørn Mork dd0bbcc626 V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference"
Never call dvb_frontend_detach if we failed to attach a frontend. This fixes
the following oops:

[    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

Also clean up if we are unable to register the tuner and LNB drivers

[mchehab@redhat.com: add printk log level, to calm down chechpatch.pl]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Reported-by: Fladischer Michael <FladischerMichael@fladi.at>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:17 -03:00
..
b2c2
bt8xx V4L/DVB: drivers/media: drop redundant memset 2010-05-18 00:46:51 -03:00
dm1105 V4L/DVB: ir-core: Make use of the new IR keymap modules 2010-05-19 12:56:50 -03:00
dvb-core V4L/DVB: Allow to enable TS continuity and TEI check on loaded module 2010-05-18 00:46:32 -03:00
dvb-usb V4L/DVB: rename all *_rc_keys to ir_codes_*_nec_table 2010-05-19 12:56:46 -03:00
firewire V4L/DVB: firedtv: correct version number and current/next in CA_PMT 2010-05-18 00:46:27 -03:00
frontends V4L/DVB: ds3000: fix divide-by-zero error in ds3000_read_snr() 2010-05-19 12:57:15 -03:00
mantis V4L/DVB: ir: prepare IR code for a parameter change at register function 2010-05-19 12:56:50 -03:00
ngene V4L/DVB: DVB: ngene, remove unused #include <linux/version.h> 2010-05-19 12:57:11 -03:00
pluto2 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pt1 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
siano include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ttpci V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference" 2010-05-19 12:57:17 -03:00
ttusb-budget
ttusb-dec
Kconfig V4L/DVB: ngene: Driver compiles now 2010-02-26 15:10:53 -03:00
Makefile V4L/DVB: ngene: Driver compiles now 2010-02-26 15:10:53 -03:00