Files
linux/drivers
Julia Lawall 769f01ef61 hamradio: 6pack: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-02 03:30:35 -05:00
..
2013-11-27 01:03:27 +01:00
2013-10-29 12:53:07 +02:00
2013-12-19 14:40:29 -05:00
2013-11-07 19:24:20 +01:00
2013-12-02 21:11:30 +00:00
2013-12-11 10:56:21 -05:00
2013-12-10 13:12:28 +01:00
2013-11-29 12:53:19 -08:00
2013-12-06 15:22:05 -05:00
2013-12-10 08:48:15 +01:00