kernel-hacking-2024-linux-s.../arch/sh
Dan Carpenter ded0014274 sh: off by one BUG_ON() in setup_bootmem_node()
This off by one bug is harmless but it upsets the static checkers and the
code is obvious so it doesn't hurt to fix it.  The Smatch warning is:

    arch/sh/mm/numa.c:47 setup_bootmem_node()
    error: buffer overflow 'node_data' 1024 <= 1024

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-10 17:41:02 -08:00
..
boards driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
boot
cchips
configs sh: Set CONFIG_NET=y in defconfigs 2014-09-24 13:38:30 -04:00
drivers Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-08-11 07:14:01 -07:00
include Merge git://git.infradead.org/users/eparis/audit 2014-10-19 16:25:56 -07:00
kernel sh: fix sh770x SCIF memory regions 2014-10-29 16:33:15 -07:00
lib sh: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:04 -04:00
lib64
math-emu
mm sh: off by one BUG_ON() in setup_bootmem_node() 2014-12-10 17:41:02 -08:00
oprofile
tools
Kconfig kexec: remove CONFIG_KEXEC dependency on crypto 2014-08-29 16:28:16 -07:00
Kconfig.cpu
Kconfig.debug
Makefile sh: also try passing -m4-nofpu for SH2A builds 2014-07-23 15:10:54 -07:00