linux/drivers/media/dvb-core
Mauro Carvalho Chehab 04da2daee3 [media] ngene: properly handle __user ptr
Sparse is complaining about ngene's bad usage of a __user ptr:

>> drivers/media/pci/ngene/ngene-dvb.c:62:48: sparse: incorrect type in argument 2 (different address spaces)
   drivers/media/pci/ngene/ngene-dvb.c:62:48:    expected unsigned char const [usertype] *buf
   drivers/media/pci/ngene/ngene-dvb.c:62:48:    got char const [noderef] <asn:1>*buf

As this is intercepting a .write() file ops, we can't just memcpy. We need to use
copy_from_user.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-09-08 10:00:52 -03:00
..
demux.h [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
dmxdev.c [media] dmxdev: don't use before checking file->private_data 2014-09-03 14:38:06 -03:00
dmxdev.h
dvb_ca_en50221.c
dvb_ca_en50221.h
dvb_demux.c [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
dvb_demux.h [media] demux.h: Remove duplicated enum 2013-04-08 06:53:15 -03:00
dvb_filter.c
dvb_filter.h
dvb_frontend.c [media] dvb_frontend: estimate bandwidth also for DVB-S/S2/Turbo 2014-08-26 18:52:04 -03:00
dvb_frontend.h [media] dvb-frontend: add core support for tuner suspend/resume 2014-08-21 15:25:09 -05:00
dvb_math.c
dvb_math.h
dvb_net.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
dvb_net.h
dvb_ringbuffer.c [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
dvb_ringbuffer.h [media] ngene: properly handle __user ptr 2014-09-08 10:00:52 -03:00
dvb-usb-ids.h [media] cxusb: Add support for TechnoTrend TT-connect CT2-4650 CI 2014-09-02 15:12:38 -03:00
dvbdev.c consolidate the reassignments of ->f_op in ->open() instances 2013-10-24 23:34:53 -04:00
dvbdev.h [media] dvbdev: add a dvb_detach() macro 2014-06-17 12:04:47 -03:00
Kconfig
Makefile