Tag: 25cecd7e355bf90b8fea039bd06947bb3234e77d

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: add missing iounmap

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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/) // @@ expression e; statement S,S1; int ret; @@ e = \(ioremap\|ioremap_nocache\)(…) … when != …

Continue reading