From: Dan Carpenter Date: Wed, 7 Apr 2010 09:41:14 +0000 (-0300) Subject: V4L/DVB: video: testing unsigned for less than 0 X-Git-Tag: v2.6.34-rc7~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981cbef2c30ee82d6011bb2ef50461f6a074de71;p=pandora-kernel.git V4L/DVB: video: testing unsigned for less than 0 soc_mbus_bytes_per_line() returns -EINVAL on error but we store it in an unsigned int so the test for less than zero doesn't work. I think it always returns "small" positive values so we can just cast it to int here. Signed-off-by: Dan Carpenter Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed