diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-12-11 00:41:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 02:41:02 +0100 |
commit | ded00142740f54610b7e256201c45a3bfa5f14e5 (patch) | |
tree | 58fca4bbb311699da22f7e96ba38ffe1bb13c2ae /fs/ocfs2/dlm/dlmrecovery.c | |
parent | scripts/kernel-doc: don't eat struct members with __aligned (diff) | |
download | linux-ded00142740f54610b7e256201c45a3bfa5f14e5.tar.xz linux-ded00142740f54610b7e256201c45a3bfa5f14e5.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions