[IA64] Don't go beyond iosapic_intr_info's arraysize
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 21 Feb 2009 22:40:27 +0000 (23:40 +0100)
committerTony Luck <tony.luck@intel.com>
Wed, 25 Feb 2009 19:50:53 +0000 (11:50 -0800)
commit5b5923975f07836fc7a5388f9fa5f459828ae4ee
tree27794117df095b46071dae87183d8ec33c39da65
parentaa2f63c95439a11dfac35c60d9160dcd0189aed3
[IA64] Don't go beyond iosapic_intr_info's arraysize

vi arch/ia64/kernel/iosapic.c +142
static struct iosapic_intr_info {
...
} iosapic_intr_info[NR_IRQS];

But at line 510 we have:
for (i = 0; i <= NR_IRQS; i++) {

s/<=/</

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/iosapic.c