Tag: 152b861622d55f7b17cb6069bd0b275fb559c29a

mtd: onenand: samsung: 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