aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2012-01-12 09:55:17 +0000
committerTony Lindgren <[email protected]>2012-01-27 00:38:47 +0000
commit14ea960164ecb25f7617eba33e7c7f9163e93e7c (patch)
tree1263abcae06f46b2e93b60d64b65cbacc47a1c93 /lib/timerqueue.c
parentARM: OMAP2+: arch/arm/mach-omap2/devices.c: introduce missing kfree (diff)
downloadkernel-14ea960164ecb25f7617eba33e7c7f9163e93e7c.tar.gz
kernel-14ea960164ecb25f7617eba33e7c7f9163e93e7c.zip
ARM: OMAP2+: arch/arm/mach-omap2/smartreflex.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 <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions