diff options
author | Dong Aisheng <[email protected]> | 2021-06-11 21:11:52 +0800 |
---|---|---|
committer | Rob Herring <[email protected]> | 2021-06-24 13:47:26 -0600 |
commit | 3c6867a12a224db1ff83b68a8ae91ece26986e1f (patch) | |
tree | 4864727a6d0838fd0c0edc6d779cd22aa2a7db9f /lib/mpi/mpi-sub-ui.c | |
parent | 972d6a7dcec3ad3226661034c5d8cb2d30585157 (diff) |
of: of_reserved_mem: only call memblock_free for normal reserved memory
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Dong Aisheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions