Thread (7 messages) flat view 7 messages, 4 authors, 2021-06-24

Re: [PATCH 1/2] of: of_reserved_mem: only call memblock_free for normal reserved memory

From: Rob Herring <robh@kernel.org>
Date: 2021-06-24 19:06:07
Also in: linux-devicetree, linux-mm, lkml

On Fri, 11 Jun 2021 21:11:52 +0800, Dong Aisheng wrote:
For nomap case, the memory block will be removed by memblock_remove()
in early_init_dt_alloc_reserved_memory_arch(). So it's meaningless to
call memblock_free() on error path.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
---
 drivers/of/of_reserved_mem.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help