linux/drivers/media/radio
Herton Ronaldo Krzesinski 80845a3316 [media] v4l: make sure drivers supply a zeroed struct v4l2_subdev
Some v4l drivers currently don't initialize their struct v4l2_subdev
with zeros, and this is a problem since some of the v4l2 code expects
this. One example is the addition of internal_ops in commit 45f6f84,
after that we are at risk of random oopses with these drivers when code
in v4l2_device_register_subdev tries to dereference sd->internal_ops->*,
as can be shown by the report at http://bugs.launchpad.net/bugs/745213
and analysis of its crash at https://lkml.org/lkml/2011/4/1/168

Use kzalloc within problematic drivers to ensure we have a zeroed struct
v4l2_subdev.

BugLink: http://bugs.launchpad.net/bugs/745213
Cc: <stable@kernel.org>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-04-29 12:33:28 -03:00
..
si470x [media] double mutex lock in drivers/media/radio/si470x/radio-si470x- 2011-03-21 20:31:56 -03:00
wl128x [media] radio: wl128x: Update registration process with ST 2011-03-31 18:49:46 -03:00
dsbr100.c [media] dsbr100: ensure correct disconnect sequence 2011-03-22 16:38:09 -03:00
Kconfig [media] media/radio/wl1273: fix build errors 2011-03-21 20:32:38 -03:00
Makefile [media] drivers:media:radio: Update Kconfig and Makefile for wl128x FM driver 2011-03-21 20:32:36 -03:00
radio-aimslab.c [media] radio-aimslab.c needs #include <linux/delay.h> 2011-01-19 11:45:57 -02:00
radio-aztech.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-cadet.c [media] cadet: use unlocked_ioctl 2010-12-01 20:10:06 -02:00
radio-gemtek.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-maestro.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-maxiradio.c [media] radio-maxiradio.c: use sensible frequency range 2011-01-19 11:28:22 -02:00
radio-miropcm20.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-mr800.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
radio-rtrack2.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-sf16fmi.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-sf16fmr2.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-si4713.c [media] v4l2-ioctl: add priority handling support 2011-03-22 16:37:59 -03:00
radio-tea5764.c [media] tea5764: convert to unlocked_ioctl 2010-12-01 20:10:07 -02:00
radio-terratec.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-timb.c mfd: mfd_cell is now implicitly available to timberdale drivers 2011-03-23 10:41:52 +01:00
radio-trust.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
radio-typhoon.c [media] typhoon: convert to unlocked_ioctl 2010-12-01 20:10:09 -02:00
radio-wl1273.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
radio-zoltrix.c [media] BKL: trivial BKL removal from V4L2 radio drivers 2010-12-01 20:10:05 -02:00
saa7706h.c [media] v4l: make sure drivers supply a zeroed struct v4l2_subdev 2011-04-29 12:33:28 -03:00
si4713-i2c.c [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
si4713-i2c.h [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
tef6862.c [media] v4l: make sure drivers supply a zeroed struct v4l2_subdev 2011-04-29 12:33:28 -03:00