linux/drivers/media/radio
Alexey Khoroshilov 5255e4d9df [media] wl128x: do not call copy_to_user() while holding spinlocks
copy_to_user() must not be called with spinlocks held, but it is in
fmc_transfer_rds_from_internal_buff().
The patch copies data to tmpbuf, releases spinlock and then passes it to userspace.
By the way there is a small unification: replace a couple of hardcoded constants by a macro.
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-05-21 08:23:31 -03:00
..
si470x [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
wl128x [media] wl128x: do not call copy_to_user() while holding spinlocks 2013-05-21 08:23:31 -03:00
dsbr100.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
Kconfig [media] v4l2: Add a V4L2 driver for SI476X MFD 2013-04-18 21:20:34 -03:00
lm7000.h
Makefile [media] v4l2: Add a V4L2 driver for SI476X MFD 2013-04-18 21:20:34 -03:00
radio-aimslab.c
radio-aztech.c
radio-cadet.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-gemtek.c
radio-isa.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-isa.h
radio-keene.c [media] v4l2: add const to argument of write-only s_frequency ioctl 2013-03-24 06:25:34 -03:00
radio-ma901.c Merge branch 'devel-for-v3.10' into v4l_for_linus 2013-04-30 09:01:04 -03:00
radio-maxiradio.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-miropcm20.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-mr800.c [media] radio-mr800: move clamp_t check inside amradio_set_freq() 2013-03-29 08:20:19 -03:00
radio-rtrack2.c [media] radio-rtrack2: fix mute bug 2013-03-05 15:20:07 -03:00
radio-sf16fmi.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-sf16fmr2.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-shark2.c radio-shark: Fix printk "CONFIG_LED_CLASS" 2013-03-27 13:21:49 +01:00
radio-shark.c radio-shark: Fix printk "CONFIG_LED_CLASS" 2013-03-27 13:21:49 +01:00
radio-si476x.c [media] v4l2: Add a V4L2 driver for SI476X MFD 2013-04-18 21:20:34 -03:00
radio-si4713.c [media] radio-si4713: add prio checking and control events 2013-04-14 19:55:38 -03:00
radio-tea5764.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-tea5777.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
radio-zoltrix.c
saa7706h.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
si4713-i2c.c [media] radio-si4713: convert to the control framework 2013-04-14 19:55:22 -03:00
si4713-i2c.h [media] radio-si4713: convert to the control framework 2013-04-14 19:55:22 -03:00
tef6862.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00