Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282083
b: refs/heads/master
c: c3b3f16
h: refs/heads/master
i:
  282081: 0f0bc9b
  282079: 790d504
v: v3
  • Loading branch information
Daniel De Graaf authored and Konrad Rzeszutek Wilk committed Dec 16, 2011
1 parent 2e65344 commit 54c177a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9438ce9dbbf512fd717051284f568d5cb35e5cf1
refs/heads/master: c3b3f16d1bceb5ac5f21528f889810b4ac5a3596
3 changes: 3 additions & 0 deletions trunk/drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,9 @@ int evtchn_get(unsigned int evtchn)
struct irq_info *info;
int err = -ENOENT;

if (evtchn >= NR_EVENT_CHANNELS)
return -EINVAL;

mutex_lock(&irq_mapping_update_lock);

irq = evtchn_to_irq[evtchn];
Expand Down

0 comments on commit 54c177a

Please sign in to comment.