summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2010-04-25 16:23:52 +0200
committerMauro Carvalho Chehab2010-05-19 17:57:58 +0200
commit474675ad8006834be996c046b47436d8ca7a5105 (patch)
tree556cfac9c0f4e5f345e847952802f5348cb1d3f0 /drivers/media/video/vivi.c
parentV4L/DVB: gspca - main: Stop the webcam when bandwidth too small (diff)
downloadkernel-qcow2-linux-474675ad8006834be996c046b47436d8ca7a5105.tar.gz
kernel-qcow2-linux-474675ad8006834be996c046b47436d8ca7a5105.tar.xz
kernel-qcow2-linux-474675ad8006834be996c046b47436d8ca7a5105.zip
V4L/DVB: videobuf-dma-sg: Avoid using a wrong size
drivers/media/video/videobuf-dma-sg.c: In function ‘__videobuf_mmap_mapper’: drivers/media/video/videobuf-dma-sg.c:557: warning: ‘size’ may be used uninitialized in this function The condition where size is floating should never happen, due to the paranoia check, but a future change at the logic might break it. So, let's just set size to zero and use it for the paranoia check. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
0 files changed, 0 insertions, 0 deletions