Tag: 771cceb464874d4a22efd4a600e4597ad3f2fc9e

drivers/macintosh/via-pmu.c: Added a missing iounmap

Author: Julia Lawall <julia@diku.dk> The error handling code should undo the ioremap as well. The problem was detected using the following semantic match (http://www.emn.fr/x-info/coccinelle/) // @@ type T,T1,T2; identifier E; statement S; expression x1,x2; constant C; int ret; @@ T E; … * E = ioremap(…); if (E == NULL) S … when != iounmap(E) …

Continue reading