Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161727
b: refs/heads/master
c: 3475dd8
h: refs/heads/master
i:
  161725: a71b7ba
  161723: 5290146
  161719: ee3b94e
  161711: 1ac6c68
  161695: e1ae089
  161663: c8be501
v: v3
  • Loading branch information
Julia Lawall authored and Benjamin Herrenschmidt committed Aug 20, 2009
1 parent d85829f commit 6218391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a626b66bbd17e775cf2210e560b29383110290e
refs/heads/master: 3475dd8a68a7c705bee88b143422ba02cb9a796b
5 changes: 4 additions & 1 deletion trunk/arch/powerpc/sysdev/qe_lib/qe_ic.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@ void __init qe_ic_init(struct device_node *node, unsigned int flags,

qe_ic->irqhost = irq_alloc_host(node, IRQ_HOST_MAP_LINEAR,
NR_QE_IC_INTS, &qe_ic_host_ops, 0);
if (qe_ic->irqhost == NULL)
if (qe_ic->irqhost == NULL) {
kfree(qe_ic);
return;
}

qe_ic->regs = ioremap(res.start, res.end - res.start + 1);

Expand All @@ -352,6 +354,7 @@ void __init qe_ic_init(struct device_node *node, unsigned int flags,

if (qe_ic->virq_low == NO_IRQ) {
printk(KERN_ERR "Failed to map QE_IC low IRQ\n");
kfree(qe_ic);
return;
}

Expand Down

0 comments on commit 6218391

Please sign in to comment.