Julia Lawall
609d3bbf04
drivers/video/imxfb.c: add missing clk_put
...
Reorder the labels at the end of the function to correspond to the order in
which the resources are allocated.
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: Sascha Hauer <s.hauer@pengutronix.de >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2011-06-02 17:07:41 +09:00
..
2011-05-29 11:19:16 -07:00
2011-05-26 10:33:34 +01:00
2011-05-25 09:14:07 -07:00
2011-05-20 13:43:21 -07:00
2011-05-25 08:39:07 -07:00
2011-05-26 17:12:32 -07:00
2011-06-02 05:29:19 +09:00
2011-05-24 13:28:35 -07:00
2011-06-02 05:29:19 +09:00
2011-05-30 11:14:13 +09:30
2011-05-23 21:24:07 -07:00
2011-05-24 22:20:14 +02:00
2011-05-29 11:18:09 -07:00
2011-05-23 10:24:29 +02:00
2011-05-28 12:35:15 -07:00
2011-05-26 17:12:37 -07:00
2011-05-23 09:12:26 -07:00
2011-05-29 14:06:42 -07:00
2011-05-25 08:39:26 -07:00
2011-05-23 12:33:02 -07:00
2011-05-27 02:24:54 -07:00
2011-05-26 19:45:05 +02:00
2011-06-02 05:29:19 +09:00
2011-05-26 12:13:57 -07:00
2011-05-26 19:45:54 +02:00
2011-05-26 13:19:00 -07:00
2011-05-26 19:45:46 +02:00
2011-05-23 09:12:26 -07:00
2011-05-29 13:03:13 +01:00
2011-05-27 10:14:22 -07:00
2011-05-23 09:12:26 -07:00
2011-05-28 08:38:55 +02:00
2011-06-01 16:35:01 +09:00
2011-05-27 19:51:32 -07:00
2011-05-27 20:06:53 -07:00
2011-05-30 11:14:16 +09:30
2011-05-25 00:08:17 +01:00
2011-05-24 12:45:59 +02:00
2011-05-26 13:19:00 -07:00
2011-06-02 05:48:50 +09:00
2011-05-29 11:44:33 -07:00
2011-05-27 10:12:35 -07:00
2011-05-23 13:10:23 -07:00
2011-05-18 02:55:22 -07:00
2011-05-27 10:49:30 +01:00
2011-05-26 17:12:33 -07:00
2011-05-26 09:48:24 +02:00
2011-05-28 23:12:11 -07:00
2011-05-23 11:36:14 +09:00
2011-05-27 01:23:54 -06:00
2011-05-20 13:43:21 -07:00
2011-05-26 13:19:00 -07:00
2011-05-24 13:03:56 -04:00
2011-05-27 19:51:32 -07:00
2011-05-28 12:36:15 -07:00
2011-05-30 11:14:15 +09:30
2011-06-02 17:07:41 +09:00
2011-05-30 11:14:16 +09:30
2011-05-26 17:12:38 -07:00
2011-05-26 19:45:06 +02:00
2011-05-26 10:50:56 -07:00
2011-05-23 13:01:00 -07:00
2011-05-28 12:35:15 -07:00