[PATCH 4/8] tools: prelink-riscv: Unmap the ELF image when done

Rick Chen rickchen36 at gmail.com
Fri Apr 7 08:29:44 CEST 2023


> From: Bin Meng <bmeng at tinylab.org>
> Sent: Thursday, March 30, 2023 12:20 PM
> To: u-boot at lists.denx.de
> Cc: Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>
> Subject: [PATCH 4/8] tools: prelink-riscv: Unmap the ELF image when done
>
> The codes forget to call munmap() to unmap the ELF image that was mapped by previous mmap().
>
> Signed-off-by: Bin Meng <bmeng at tinylab.org>
> ---
>
>  tools/prelink-riscv.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list