diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-09-14 15:19:19 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-09-14 15:20:54 +0200 |
commit | 938c04a8708645ae335783ca630bbb806111802f (patch) | |
tree | 19cf3ae1d41d5f00035ab0d6fabe616bc528785a /drivers/irqchip/irq-crossbar.c | |
parent | irq: Export handle_fasteoi_irq (diff) | |
parent | irqchip: gic-v3: Declare rdist as __percpu pointer to __iomem pointer (diff) | |
download | linux-938c04a8708645ae335783ca630bbb806111802f.tar.xz linux-938c04a8708645ae335783ca630bbb806111802f.zip |
Merge tag 'irqchip-urgent-3.17' of git://git.infradead.org/users/jcooper/linux into irq/urgent
irqchip fixes for v3.17 from Jason Cooper
- GIC/GICV3: Various fixlets
- crossbar: Fix off-by-one bug
- exynos-combiner: Fix arm64 build error
Diffstat (limited to 'drivers/irqchip/irq-crossbar.c')
-rw-r--r-- | drivers/irqchip/irq-crossbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-crossbar.c b/drivers/irqchip/irq-crossbar.c index 85c2985d8bcb..bbbaf5de65d2 100644 --- a/drivers/irqchip/irq-crossbar.c +++ b/drivers/irqchip/irq-crossbar.c @@ -220,7 +220,7 @@ static int __init crossbar_of_init(struct device_node *node) of_property_read_u32_index(node, "ti,irqs-reserved", i, &entry); - if (entry > max) { + if (entry >= max) { pr_err("Invalid reserved entry\n"); ret = -EINVAL; goto err_irq_map; @@ -238,7 +238,7 @@ static int __init crossbar_of_init(struct device_node *node) of_property_read_u32_index(node, "ti,irqs-skip", i, &entry); - if (entry > max) { + if (entry >= max) { pr_err("Invalid skip entry\n"); ret = -EINVAL; goto err_irq_map; |