Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349595
b: refs/heads/master
c: 68ba45f
h: refs/heads/master
i:
  349593: c5542bd
  349591: 2e9b091
v: v3
  • Loading branch information
Wei Liu authored and Konrad Rzeszutek Wilk committed Feb 6, 2013
1 parent cb289f0 commit 6bb7858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 51ac8893a7a51b196501164e645583bf78138699
refs/heads/master: 68ba45ff389295ddccbb976b8881de7c46140e00
4 changes: 2 additions & 2 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ int bind_evtchn_to_irq(unsigned int evtchn)

if (irq == -1) {
irq = xen_allocate_irq_dynamic();
if (irq == -1)
if (irq < 0)
goto out;

irq_set_chip_and_handler_name(irq, &xen_dynamic_chip,
Expand Down Expand Up @@ -944,7 +944,7 @@ int bind_virq_to_irq(unsigned int virq, unsigned int cpu)

if (irq == -1) {
irq = xen_allocate_irq_dynamic();
if (irq == -1)
if (irq < 0)
goto out;

irq_set_chip_and_handler_name(irq, &xen_percpu_chip,
Expand Down

0 comments on commit 6bb7858

Please sign in to comment.