We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3026589 commit 7b7210dCopy full SHA for 7b7210d
arch/microblaze/kernel/intc.c
@@ -137,8 +137,8 @@ void __init init_IRQ(void)
137
138
intr_type =
139
*(int *) of_get_property(intc, "xlnx,kind-of-intr", NULL);
140
- if (intr_type >= (1 << nr_irq))
141
- printk(KERN_INFO " ERROR: Mishmash in king-of-intr param\n");
+ if (intr_type >= (1 << (nr_irq + 1)))
+ printk(KERN_INFO " ERROR: Mismatch in kind-of-intr param\n");
142
143
#ifdef CONFIG_SELFMOD_INTC
144
selfmod_function((int *) arr_func, intc_baseaddr);
0 commit comments