Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280135
b: refs/heads/master
c: 93797d8
h: refs/heads/master
i:
  280133: aaea952
  280131: b57051d
  280127: 6503821
v: v3
  • Loading branch information
Rob Herring committed Dec 28, 2011
1 parent 55e25a4 commit f73169c
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: 3ecdd0515287afbcde352077d59e4028dcfbb685
refs/heads/master: 93797d87d63d36404907640e4e20bb976bff4744
3 changes: 3 additions & 0 deletions trunk/kernel/irq/irqdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ int irq_domain_simple_dt_translate(struct irq_domain *d,
return -EINVAL;
if (intsize < 1)
return -EINVAL;
if (d->nr_irq && ((intspec[0] < d->hwirq_base) ||
(intspec[0] >= d->hwirq_base + d->nr_irq)))
return -EINVAL;

*out_hwirq = intspec[0];
*out_type = IRQ_TYPE_NONE;
Expand Down

0 comments on commit f73169c

Please sign in to comment.