Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234200
b: refs/heads/master
c: ae1635b
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Konrad Rzeszutek Wilk committed Mar 10, 2011
1 parent fa2dd8f commit f236e75
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: 260a7d4cfd26d8bad8ac3a7fce11de47491d7e00
refs/heads/master: ae1635b05fae30804061406010914d85d12431ac
5 changes: 4 additions & 1 deletion trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,11 @@ void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc)

if (alloc & XEN_ALLOC_PIRQ) {
*pirq = find_unbound_pirq(MAP_PIRQ_TYPE_MSI);
if (*pirq == -1)
if (*pirq == -1) {
xen_free_irq(*irq);
*irq = -1;
goto out;
}
}

set_irq_chip_and_handler_name(*irq, &xen_pirq_chip,
Expand Down

0 comments on commit f236e75

Please sign in to comment.