]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/firmware/memmap.c: modify memblock_alloc to memblock_alloc_nopanic
authorhuang.zijiang <huang.zijiang@zte.com.cn>
Thu, 3 Jan 2019 23:26:55 +0000 (15:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 21:13:46 +0000 (13:13 -0800)
commite835b495e74a2365a1ef837b3f2b22d56e7e1f1f
tree4ac1f2e1aa24ad5f048251854d8b8001b693743d
parent5c7e8cc3c94acee9bacddca4a40532d733f42de3
drivers/firmware/memmap.c: modify memblock_alloc to memblock_alloc_nopanic

memblock_alloc() never returns NULL because panic never returns.

Link: http://lkml.kernel.org/r/1545640882-42009-1-git-send-email-huang.zijiang@zte.com.cn
Signed-off-by: huang.zijiang <huang.zijiang@zte.com.cn>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/firmware/memmap.c