2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/media
Hans Verkuil 7a7f1ab37d [media] v4l2-ctrls: fix sparse warning
The warning is simple:

drivers/media/v4l2-core/v4l2-ctrls.c:1685:15: warning: incorrect type in assignment (different address spaces)

but the fix isn't.

The core problem was that the conversion from user to kernelspace was
done at too low a level and that needed to be moved up. That made it possible
to drop pointers to v4l2_ext_control from set_ctrl and validate_new and
clean up this sparse warning because those functions now always operate
on kernelspace pointers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-10-28 16:32:52 -02:00
..
common [media] saa7146: Create a device name before it's used 2014-10-21 08:51:44 -02:00
dvb-core [media] dvb_frontend: Fix __user namespace 2014-09-26 06:47:52 -03:00
dvb-frontends media updates for v3.18-rc1 2014-10-10 22:04:49 -04:00
firewire [media] firewire: firedtv-avc: fix more potential buffer overflow 2014-09-23 16:13:39 -03:00
i2c [media] smiapp: Update PLL when setting format 2014-10-28 13:44:34 -02:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
pci [media] tw68: remove bogus I2C_ALGOBIT dependency 2014-10-24 09:30:55 -02:00
platform [media] media: davinci: vpbe: return -ENODATA for *dv_timings/*_std calls 2014-10-28 16:12:26 -02:00
radio [media] wl128x: fix fmdbg compiler warning 2014-10-24 09:27:34 -02:00
rc media updates for v3.18-rc1 2014-10-10 22:04:49 -04:00
tuners [media] xc5000: use after free in release() 2014-10-24 09:29:28 -02:00
usb [media] usbvision-video: two use after frees 2014-10-24 09:30:14 -02:00
v4l2-core [media] v4l2-ctrls: fix sparse warning 2014-10-28 16:32:52 -02:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00