summaryrefslogtreecommitdiffstats
path: root/arch/cris/configs
diff options
context:
space:
mode:
authorNiklas Cassel <nks@flawful.org>2016-09-22 16:21:13 +0200
committerJesper Nilsson <jespern@axis.com>2016-09-22 16:26:29 +0200
commit75e52ba125702608809726c1884046117631d0fe (patch)
tree0d8164920b6be5258a45dd2367d0e8d2208e71ac /arch/cris/configs
parentd355bcb0d82835db142db3c469541c98d5d9091c (diff)
downloadlinux-75e52ba125702608809726c1884046117631d0fe.tar.bz2
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>
Diffstat (limited to 'arch/cris/configs')
0 files changed, 0 insertions, 0 deletions