[media] ivtv: Fix sparse warning regarding a user pointer in ivtv_write_vbi_from_user()
authorAndy Walls <awalls@md.metrocast.net>
Wed, 9 Feb 2011 01:39:28 +0000 (22:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:35 +0000 (20:32 -0300)
commit0d44b1235c60bf3134f5730ebb4a115f857a2da4
treeb68f986322d12c0f6d5c9c48fa8130a70ccb0ad6
parent793e71b667856ed6163ad0dc7de1f453e9385590
[media] ivtv: Fix sparse warning regarding a user pointer in ivtv_write_vbi_from_user()

Fix the first, botched attempt at preventing direct use of a user pointer in
ivtv_write_vbi().

Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-vbi.c