diff options
author | Dan Carpenter <[email protected]> | 2014-12-10 15:41:31 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-10 17:41:02 -0800 |
commit | ded00142740f54610b7e256201c45a3bfa5f14e5 (patch) | |
tree | 58fca4bbb311699da22f7e96ba38ffe1bb13c2ae /tools/perf/scripts/python | |
parent | 7b990789a4c3420fa57596b368733158e432d444 (diff) |
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 <[email protected]>
Cc: Paul Mundt <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions