Julia Lawall
19c190f9e0
USB: gadget: s3c-hsotg: Add missing unlock
...
In an error handling case the lock is not unlocked. The return is
converted to a goto, to share the unlock at the end of the function.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/ )
// <smpl>
@r exists@
expression E1;
identifier f;
@@
f (...) { <+...
* spin_lock_irqsave (E1,...);
... when != E1
* return ...;
...+> }
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-04-30 09:25:11 -07:00
..
2009-11-30 16:43:15 -08:00
2007-07-19 17:46:05 -07:00
2010-03-29 17:36:04 +01:00
2008-07-25 10:53:29 -07:00
2010-03-30 22:02:32 +09:00
2010-03-02 14:54:57 -08:00
2009-12-23 11:34:20 -08:00
2009-03-24 16:20:33 -07:00
2010-03-30 22:02:32 +09:00
2009-01-07 09:59:58 -08:00
2009-12-11 11:55:23 -08:00
2010-03-30 22:02:32 +09:00
2009-09-23 06:46:30 -07:00
2010-03-19 07:24:19 -07:00
2010-03-02 14:53:40 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-19 07:24:20 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-04 08:15:33 -08:00
2010-02-04 15:55:09 +01:00
2010-03-02 14:54:18 -08:00
2009-11-11 21:43:20 -06:00
2009-10-30 14:57:33 -07:00
2009-06-15 21:44:47 -07:00
2009-03-24 16:20:45 -07:00
2010-03-19 07:24:22 -07:00
2010-03-30 22:02:32 +09:00
2010-03-19 07:24:19 -07:00
2008-07-25 10:53:29 -07:00
2010-03-30 22:02:32 +09:00
2009-03-24 16:20:29 -07:00
2010-03-02 14:54:52 -08:00
2010-03-19 07:24:21 -07:00
2009-07-12 12:22:34 -07:00
2009-06-15 21:44:47 -07:00
2010-03-30 22:02:32 +09:00
2008-08-07 09:55:48 +01:00
2010-03-30 22:02:32 +09:00
2009-07-23 13:04:15 +09:00
2010-03-02 14:54:02 -08:00
2010-03-02 14:54:49 -08:00
2010-03-19 07:24:24 -07:00
2008-07-21 15:16:10 -07:00
2009-03-24 16:20:33 -07:00
2008-10-17 14:40:52 -07:00
2010-03-02 14:54:02 -08:00
2009-11-22 10:24:32 -08:00
2008-07-25 10:53:29 -07:00
2010-03-02 14:54:57 -08:00
2010-03-02 07:40:51 +08:00
2009-09-23 06:46:23 -07:00
2010-03-30 22:02:32 +09:00
2010-03-02 14:54:47 -08:00
2010-04-05 11:37:28 +09:00
2009-10-06 10:59:03 +09:00
2010-03-30 22:02:32 +09:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2007-07-12 16:34:30 -07:00
2010-04-30 09:25:11 -07:00
2009-03-24 16:20:33 -07:00
2009-12-11 11:55:22 -08:00
2010-03-30 22:02:32 +09:00
2009-12-23 11:34:20 -08:00
2010-03-30 22:02:32 +09:00
2010-03-02 14:54:57 -08:00
2008-12-17 15:49:09 -08:00
2010-03-30 22:02:32 +09:00
2008-10-17 14:40:53 -07:00
2009-05-08 19:34:56 -07:00
2010-03-30 22:02:32 +09:00