aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2019-03-05 15:46:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-05 21:07:18 -0800
commit23a7052a5db478bdacf45bea55e6f50171f5eede (patch)
tree19a6113acea0e6a287e4653f365d8b5ff2780df6 /mm/memcontrol.c
parentarch/powerpc/mm/hugetlb: NestMMU workaround for hugetlb mprotect RW upgrade (diff)
downloadlinux-23a7052a5db478bdacf45bea55e6f50171f5eede.tar.gz
linux-23a7052a5db478bdacf45bea55e6f50171f5eede.zip
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/1547734941-944-1-git-send-email-rppt@linux.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: William Kucharski <william.kucharski@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions
ingle/double quotes in testJeff King1-2/+3 2016-05-14t9107: use "return 1" instead of "exit 1"Jeff King1-16/+26 2016-05-13diff: run arguments through precompose_argvAlexander Rinass5-0/+47 2016-05-13t9100,t3419: enclose all test code in single-quotesJeff King2-20/+20 2016-05-13t/lib-git-svn: drop $remote_git_svn and $git_svn_idJeff King11-63/+60 2016-05-13Twelfth batch for 2.9Junio C Hamano1-0/+20 2016-05-13git-multimail: update to release 1.3.1Matthieu Moy4-4/+20 2016-05-13Documentation: clarify signature verificationKeller Fuchs2-4/+7