diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-07 11:41:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-07 00:20:52 +0200 |
commit | 981cbef2c30ee82d6011bb2ef50461f6a074de71 (patch) | |
tree | c3b5ca41ec470b406005d412865963975c54fd91 /drivers/media/video/cx88 | |
parent | V4L/DVB: mx1-camera: compile fix (diff) | |
download | linux-981cbef2c30ee82d6011bb2ef50461f6a074de71.tar.xz linux-981cbef2c30ee82d6011bb2ef50461f6a074de71.zip |
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 <error27@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
0 files changed, 0 insertions, 0 deletions