1
linux/drivers/media
Eric Sesterhenn d084aa7067 V4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.c
when checking the -Wextra signedness warnings issued by gcc 4.1
I came across this one:
drivers/media/video/vivi.c:1001: warning: comparison of unsigned expression < 0 is always false
Since videobuf_reqbufs() returns negative values on errors the current
code does no real error checking since gcc removes the comparison.
This patch fixes this issue by making ret a normal, signed integer.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-26 12:30:32 -03:00
..
common V4L/DVB (4421): V4L2 Conversion: saa5246a, saa5249, vino, hexium_orion, hexium_gemini 2006-09-26 11:53:36 -03:00
dvb V4L/DVB (4501): Add support for knc one dvb-s plus with 1894:0011 2006-09-26 12:30:32 -03:00
radio V4L/DVB (4484): Git-dvb: cadet build fix 2006-09-26 12:30:31 -03:00
video V4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.c 2006-09-26 12:30:32 -03:00
Kconfig V4L/DVB (4605): Fixes an issue with V4L1 and make headers-install 2006-09-10 13:45:55 -03:00
Makefile