diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-03 16:11:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 17:37:13 -0400 |
commit | c6eb8eafdba4ad18b4520a0d28a38bc9e61883ea (patch) | |
tree | 8b580ce4ac05617bc760272fb29382b1ffc73bad /drivers/media/video/gspca/gspca.c | |
parent | 980d4f17345fe420fda2a84cd4a28d5d41d73cef (diff) |
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, | |||
1401 | i = ret; /* frame index */ | 1401 | i = ret; /* frame index */ |
1402 | frame = &gspca_dev->frame[i]; | 1402 | frame = &gspca_dev->frame[i]; |
1403 | if (gspca_dev->memory == V4L2_MEMORY_USERPTR) { | 1403 | if (gspca_dev->memory == V4L2_MEMORY_USERPTR) { |
1404 | if (copy_to_user((__u8 *) frame->v4l2_buf.m.userptr, | 1404 | if (copy_to_user((__u8 __user *) frame->v4l2_buf.m.userptr, |
1405 | frame->data, | 1405 | frame->data, |
1406 | frame->v4l2_buf.bytesused)) { | 1406 | frame->v4l2_buf.bytesused)) { |
1407 | PDEBUG(D_ERR|D_STREAM, | 1407 | PDEBUG(D_ERR|D_STREAM, |