diff options
| author | Mike Rapoport <[email protected]> | 2019-03-05 15:46:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-05 21:07:18 -0800 |
| commit | 23a7052a5db478bdacf45bea55e6f50171f5eede (patch) | |
| tree | 19a6113acea0e6a287e4653f365d8b5ff2780df6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8ef5cbde6dafce8f30edb53f87cb485ceace63df (diff) | |
mm/page_alloc.c: check return value of memblock_alloc_node_nopanic()
There are two early memory allocations that use
memblock_alloc_node_nopanic() and do not check its return value.
While this happens very early during boot and chances that the
allocation will fail are diminishing, it is still worth to have proper
checks for the allocation errors.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions