OpenCloudOS-Kernel/drivers/media
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
..
common [media] media: Fix randconfig error 2013-04-14 20:04:08 -03:00
dvb-core Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
dvb-frontends [media] dib0090: Fix a warning at dib0090_set_EFUSE 2013-04-25 16:06:55 -03:00
firewire [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
i2c [media] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage 2013-05-21 08:21:13 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
pci [media] CARDLIST.bttv: add new cards 2013-05-21 08:16:02 -03:00
platform [media] media: davinci: vpbe: fix checkpatch warning for CamelCase 2013-05-21 08:19:17 -03:00
radio [media] wl128x: do not call copy_to_user() while holding spinlocks 2013-05-21 08:23:31 -03:00
rc [media] rc: Add rc-delock-61959 2013-05-21 08:18:19 -03:00
tuners [media] r820t: Remove a warning for an unused value 2013-04-25 16:07:04 -03:00
usb [media] hdpvr: Added some error handling in hdpvr_start_streaming() 2013-05-21 08:20:24 -03:00
v4l2-core [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in media_device_enum_entities() 2013-04-23 16:58:52 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00