linux_dsm_epyc7002/arch/cris/arch-v32/kernel
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
..
cache.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cacheflush.S CRIS: Add debug for assembler functions 2010-08-04 12:59:43 +02:00
crisksyms.c CRIS v32: remove old GPIO and LEDs code 2015-11-02 20:03:05 +01:00
debugport.c CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
entry.S CRISv32: add support for irqflags tracing 2015-09-05 00:56:49 +02:00
fasttimer.c cris: fasttimer: fix mixed declarations and code compile warning 2016-09-22 16:26:29 +02:00
head.S cris: Fix section mismatches in architecture startup code 2015-12-15 14:03:19 +01:00
irq.c cris: irq: stop loop from accessing array out of bounds 2016-09-22 16:26:29 +02:00
kgdb_asm.S CRIS: v32: Correct path for intr_vect.h 2010-08-04 13:00:53 +02:00
kgdb.c cris: kgdb: use native hex2bin 2015-11-02 20:03:04 +01:00
Makefile CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
process.c exit_thread: accept a task parameter to be exited 2016-05-20 17:58:30 -07:00
ptrace.c cris:removed the unused variable 2012-04-03 13:09:18 +02:00
setup.c CRIS: Drop code related to obsolete or unused kconfigs 2015-11-02 20:03:05 +01:00
signal.c CRIS: UAPI: fix ptrace.h 2015-09-05 00:33:25 +02:00
time.c cris/time: Migrate to new 'set-state' interface 2015-08-10 11:41:08 +02:00
traps.c CRIS: Minor formatting fix in traps.c 2010-08-04 13:02:15 +02:00