Julia Lawall
7febe2be36
drivers/usb/host/ohci-pxa27x.c: add missing clk_put
...
Add a label before the call to clk_put and jump to that in the error
handling code that occurs after the call to clk_get has succeeded.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/ )
// <smpl>
@r exists@
expression e1,e2;
statement S;
@@
e1 = clk_get@p1(...);
... when != e1 = e2
when != clk_put(e1)
when any
if (...) { ... when != clk_put(e1)
when != if (...) { ... clk_put(e1) ... }
* return@p3 ...;
} else S
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-07 09:07:47 -07:00
..
2011-03-31 11:26:23 -03:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-06 18:16:39 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-02 16:59:36 -07:00
2011-05-03 11:43:48 -07:00
2011-05-19 16:34:04 -07:00
2011-05-02 16:59:38 -07:00
2011-05-03 11:43:21 -07:00
2011-02-17 10:47:55 -08:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-10 13:30:45 -07:00
2011-05-03 11:43:21 -07:00
2011-05-27 12:07:36 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-17 11:20:24 -07:00
2011-05-10 14:14:59 -07:00
2011-05-19 16:34:04 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-03 11:43:21 -07:00
2011-05-19 16:49:52 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-22 18:38:58 -08:00
2011-05-10 10:16:21 +02:00
2011-03-31 11:26:23 -03:00
2011-05-19 16:34:04 -07:00
2011-03-31 11:26:23 -03:00
2011-05-20 12:50:29 -07:00
2011-05-19 16:34:04 -07:00
2011-05-02 17:03:50 -07:00
2011-02-28 13:22:45 -07:00
2011-05-19 16:45:32 -07:00
2011-05-03 10:09:32 -07:00
2011-04-13 16:58:19 -07:00
2011-04-13 15:44:03 -07:00
2011-05-19 16:34:04 -07:00
2011-03-13 18:07:11 -07:00
2011-03-01 17:02:49 +02:00
2011-05-17 11:20:23 -07:00
2011-02-28 13:22:45 -07:00
2011-06-07 09:07:47 -07:00
2011-03-01 16:01:45 -05:00
2011-05-06 18:16:40 -07:00
2011-03-23 10:42:01 +01:00
2011-03-16 19:05:40 -07:00
2011-05-19 16:34:04 -07:00
2011-05-27 12:07:36 -07:00
2011-05-27 12:07:36 -07:00
2011-03-13 18:07:11 -07:00
2011-05-06 07:46:22 +02:00
2011-05-23 12:33:02 -07:00
2011-04-13 16:36:06 -07:00
2011-05-19 16:43:20 -07:00
2011-05-19 16:45:32 -07:00
2011-05-23 12:33:02 -07:00
2011-05-19 16:43:20 -07:00
2011-05-06 18:24:01 -07:00
2011-05-06 18:24:00 -07:00
2011-05-19 16:43:20 -07:00
2011-06-02 16:38:24 -07:00
2011-03-13 18:07:09 -07:00
2011-05-12 12:54:22 -07:00
2011-06-05 21:01:38 -07:00
2011-06-02 18:22:58 -07:00
2011-06-01 16:26:48 -07:00
2011-06-02 18:22:58 -07:00
2011-06-02 18:22:58 -07:00