1
0
Files
linux/drivers/media/tuners
Julia Lawall 58f087c9b6 [media] e4000: fix error return code
Set the return variable to an error code as done 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: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-01-07 09:34:05 -02:00
..
2014-01-07 09:34:05 -02:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-10-31 06:09:13 -02:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2012-10-28 07:38:54 -02:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00