linux/drivers/media
Andy Walls b0c45686c8 [media] ivtv: ivtv_write_vbi() should use copy_from_user() for user data buffers
ivtv_write_vbi() is used for both VBI data that came from the
driver internally and VBI data that came from the user.  However,
it did not use copy_from_user() for reading the VBI data from the
user buffers.

This change adds a new version of the function,
ivtv_write_vbi_from_user(), that uses copy_from_user() to read the VBI
data provided via user buffers.

This should resolve a sparse build warning reported by Dave Gilbert.

Reported-by: Dr. David Alan Gilbert <linux at treblig.org>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:17:10 -02:00
..
common [media] V4L: remove V4L1 compatibility mode 2010-12-29 08:17:07 -02:00
dvb [media] drivers:media:dvb: add USB PIDs for Elgato EyeTV Sat 2010-12-29 08:17:03 -02:00
radio [media] V4L2: WL1273 FM Radio: TI WL1273 FM radio driver 2010-12-29 08:17:02 -02:00
rc [media] rc: ir-lirc-codec: fix potential integer overflow 2010-12-29 08:17:02 -02:00
video [media] ivtv: ivtv_write_vbi() should use copy_from_user() for user data buffers 2010-12-29 08:17:10 -02:00
Kconfig [media] V4L: remove V4L1 compatibility mode 2010-12-29 08:17:07 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00