From: Mauro Carvalho Chehab Date: Sun, 25 Apr 2010 14:23:52 +0000 (-0300) Subject: V4L/DVB: videobuf-dma-sg: Avoid using a wrong size X-Git-Tag: v2.6.35-rc1~480^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=474675ad8006834be996c046b47436d8ca7a5105;p=pandora-kernel.git 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 --- Reading git-diff-tree failed