projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2da0f
)
powerpc/6xx: add missing iounmap() on error in hlwd_pic_init()
author
Wei Yongjun
<
[email protected]
>
Sat, 12 Oct 2013 07:13:19 +0000
(15:13 +0800)
committer
Scott Wood
<
[email protected]
>
Tue, 29 Oct 2013 02:11:22 +0000
(21:11 -0500)
Add the missing iounmap() before return from hlwd_pic_init()
in the error handling case.
Signed-off-by: Wei Yongjun <
[email protected]
>
Signed-off-by: Scott Wood <
[email protected]
>
arch/powerpc/platforms/embedded6xx/hlwd-pic.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/embedded6xx/hlwd-pic.c
b/arch/powerpc/platforms/embedded6xx/hlwd-pic.c
index 3006b5117ec6cab1c7737ae12c5aa8a59f5a8fd3..6f61e21b3617d20ce4503d3713508e48d8bd0230 100644
(file)
--- a/
arch/powerpc/platforms/embedded6xx/hlwd-pic.c
+++ b/
arch/powerpc/platforms/embedded6xx/hlwd-pic.c
@@
-181,6
+181,7
@@
struct irq_domain *hlwd_pic_init(struct device_node *np)
&hlwd_irq_domain_ops, io_base);
if (!irq_domain) {
pr_err("failed to allocate irq_domain\n");
+ iounmap(io_base);
return NULL;
}