Peter Senna Tschudin 97b55f6a46 [media] drivers/media/usb/tm6000/tm6000-video.c: fix error return code
Convert a nonnegative error return code to a negative one, as returned
elsewhere in the function.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-22 14:20:40 -02:00
..
2012-10-02 17:26:42 -07:00
2012-10-07 20:55:16 +09:00
2012-10-12 10:21:02 +09:00
2012-09-26 22:28:21 -04:00
2012-10-08 06:33:44 +09:00
2012-09-24 10:07:40 -07:00
2012-10-13 13:22:01 -07:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-12 13:56:52 -04:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:11:46 +09:00
2012-10-01 19:11:38 -07:00
2012-10-10 20:15:24 +09:00
2012-10-13 10:57:01 +09:00
2012-10-01 19:11:38 -07:00
2012-10-13 11:16:58 +09:00
2012-10-12 10:21:02 +09:00
2012-10-01 12:09:59 -07:00
2012-10-12 22:20:28 +09:00
2012-10-01 18:46:13 -07:00