linux/arch/cris
Niklas Cassel 75e52ba125 cris: irq: stop loop from accessing array out of bounds
array "interrupt" only has 32 or 64 elements, depending on machine.

arch/cris/arch-v32/kernel/irq.c: In function ‘init_IRQ’:
arch/cris/arch-v32/kernel/irq.c:475:3: warning: iteration 32u invokes undefined behavior [-Waggressive-loop-optimizations]
   set_exception_vector(i, interrupt[j]);
   ^
arch/cris/arch-v32/kernel/irq.c:474:2: note: containing loop
  for (i = FIRST_IRQ, j = 0; j < NBR_INTR_VECT; i++, j++) {
  ^

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
2016-09-22 16:26:29 +02:00
..
arch-v10 mtd: Remove unused symbol CONFIG_MTDRAM_ABS_POS 2016-07-09 17:38:05 -07:00
arch-v32 cris: irq: stop loop from accessing array out of bounds 2016-09-22 16:26:29 +02:00
boot CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
configs CRISv32: Add GPIO driver to the default configs 2015-09-05 00:33:25 +02:00
include cris: buggered copy_from_user/copy_to_user/clear_user 2016-09-13 17:49:38 -04:00
kernel cris: Remove unnecessary of_platform_populate with default match table 2016-06-23 15:00:22 -05:00
mm mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
Kconfig printk/nmi: generic solution for safe printk in NMI 2016-05-20 17:58:30 -07:00
Kconfig.debug Kconfig: remove a few puzzling comments 2011-10-31 10:58:48 +01:00
Makefile CRISv32: add device tree support 2015-03-25 09:49:48 +01:00