diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-03 17:11:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 18:37:13 -0300 |
commit | c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea (patch) | |
tree | 8b580ce4ac05617bc760272fb29382b1ffc73bad /drivers/media/video/gspca/gspca.c | |
parent | 980d4f17345fe420fda2a84cd4a28d5d41d73cef (diff) | |
download | blackbird-op-linux-c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea.tar.gz blackbird-op-linux-c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea.zip |
V4L/DVB (8757): v4l-dvb: fix a bunch of sparse warnings
Fixed a lot of sparse warnings: mostly warnings about shadowed variables
and signed/unsigned mismatches.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 3461bc9e4739..0b292ca0c080 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -1401,7 +1401,7 @@ static int vidioc_dqbuf(struct file *file, void *priv, i = ret; /* frame index */ frame = &gspca_dev->frame[i]; if (gspca_dev->memory == V4L2_MEMORY_USERPTR) { - if (copy_to_user((__u8 *) frame->v4l2_buf.m.userptr, + if (copy_to_user((__u8 __user *) frame->v4l2_buf.m.userptr, frame->data, frame->v4l2_buf.bytesused)) { PDEBUG(D_ERR|D_STREAM, |