aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-01-12 10:55:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-03 09:19:01 -0800
commit6a1d0b0af0dcb47bab73e4aa95b4b6afaee4a75c (patch)
treec3f436d7dda1ca9ea59b5ca7f1ed49104aaf4f4a /drivers/usb/host/xhci-ring.c
parenta607902f65e6d425f8d115ac891a3c89f3b36d33 (diff)
downloadkernel_samsung_smdk4412-6a1d0b0af0dcb47bab73e4aa95b4b6afaee4a75c.zip
kernel_samsung_smdk4412-6a1d0b0af0dcb47bab73e4aa95b4b6afaee4a75c.tar.gz
kernel_samsung_smdk4412-6a1d0b0af0dcb47bab73e4aa95b4b6afaee4a75c.tar.bz2
drivers/usb/host/ehci-fsl.c: add missing iounmap
commit 2492c6e6454ff3edb11e273b071a6ea80a199c71 upstream. 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> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions