Julia Lawall
0cf572dc00
arch/powerpc/sysdev/fsl_pci.c: add missing iounmap
...
Add missing iounmap in error handling code, in a case where the function
already preforms iounmap on some other execution path.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression e;
statement S,S1;
int ret;
@@
e = \(ioremap\|ioremap_nocache\)(...)
... when != iounmap(e)
if (<+...e...+>) S
... when any
when != iounmap(e)
*if (...)
{ ... when != iounmap(e)
return ...; }
... when any
iounmap(e);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr >
Signed-off-by: Kumar Gala <galak@kernel.crashing.org >
2012-01-17 13:08:35 -06:00
..
2011-10-31 19:30:44 -04:00
2012-01-07 12:15:36 -08:00
2011-12-08 14:02:23 +11:00
2008-05-16 23:22:28 +10:00
2012-01-03 22:54:07 -05:00
2011-06-10 14:55:36 +02:00
2011-05-04 15:02:15 +10:00
2010-03-04 10:43:58 -06:00
2010-04-19 23:13:03 -05:00
2011-11-06 19:44:47 -08:00
2011-06-10 14:55:36 +02:00
2008-12-21 14:21:15 +11:00
2011-10-31 19:30:37 -04:00
2011-11-24 02:01:24 -06:00
2010-10-14 00:54:38 -05:00
2011-05-19 14:30:43 +10:00
2011-03-18 06:31:43 -07:00
2011-10-31 19:30:37 -04:00
2012-01-04 15:41:22 -06:00
2011-11-24 02:01:40 -06:00
2012-01-04 15:47:44 -06:00
2012-01-04 15:47:44 -06:00
2012-01-17 13:08:35 -06:00
2011-03-15 09:29:56 -05:00
2011-10-31 19:30:37 -04:00
2011-11-24 02:01:34 -06:00
2011-11-24 02:01:34 -06:00
2012-01-04 15:43:03 -06:00
2011-10-31 19:30:44 -04:00
2011-08-29 09:14:30 +00:00
2011-07-12 09:28:04 -05:00
2011-05-19 15:31:41 +10:00
2011-03-31 11:26:23 -03:00
2011-06-10 14:55:36 +02:00
2007-12-12 01:53:07 -06:00
2011-05-26 15:00:37 +10:00
2012-01-04 15:41:22 -06:00
2010-07-11 11:04:06 -05:00
2011-06-10 14:55:36 +02:00
2011-10-31 19:30:37 -04:00
2011-10-31 19:30:44 -04:00
2009-12-18 14:55:43 +11:00
2011-03-29 14:48:12 +02:00
2011-03-29 14:48:12 +02:00
2011-12-07 13:43:09 +11:00
2011-03-10 11:03:56 +11:00
2010-03-30 22:02:32 +09:00
2011-03-02 16:50:05 +11:00
2011-10-31 19:30:39 -04:00
2011-05-04 15:02:15 +10:00
2011-06-10 14:55:36 +02:00
2007-09-22 14:49:21 +10:00
2010-03-30 22:02:32 +09:00
2011-10-31 19:30:38 -04:00
2011-12-21 14:29:42 -08:00
2010-07-05 16:14:30 -06:00
2011-10-31 19:30:38 -04:00
2011-12-09 07:51:02 -05:00
2011-12-09 07:51:02 -05:00
2011-11-08 14:51:46 +11:00
2011-10-31 19:30:38 -04:00
2011-10-31 19:30:37 -04:00
2011-10-31 19:30:44 -04:00
2008-12-30 11:13:45 -06:00
2011-10-31 19:30:44 -04:00
2011-03-29 14:48:12 +02:00
2011-12-21 16:26:03 -08:00
2011-05-04 15:02:15 +10:00
2009-06-06 10:14:22 -06:00