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
..
2012-01-03 22:54:07 -05:00
2011-05-04 15:02:15 +10:00
2010-03-04 10:43:58 -06:00
2008-12-21 14:21:15 +11:00
2011-03-31 11:26:23 -03:00
2011-05-26 15:00:37 +10:00
2011-03-10 11:03:56 +11:00
2011-11-08 14:51:46 +11:00
2011-12-21 16:26:03 -08:00