[PATCH 4/5] efi: loader: Make efi_mem static

Ilias Apalodimas ilias.apalodimas at linaro.org
Wed Apr 5 15:09:30 CEST 2023


On Wed, Apr 05, 2023 at 08:15:18PM +0800, Bin Meng wrote:
> efi_mem is only referenced in efi_memory.c
> 
> Signed-off-by: Bin Meng <bmeng at tinylab.org>
> ---
> 
>  lib/efi_loader/efi_memory.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
> index b7bee98f79..219b520a0d 100644
> --- a/lib/efi_loader/efi_memory.c
> +++ b/lib/efi_loader/efi_memory.c
> @@ -33,7 +33,7 @@ struct efi_mem_list {
>  #define EFI_CARVE_OVERLAPS_NONRAM	-3
>  
>  /* This list contains all memory map items */
> -LIST_HEAD(efi_mem);
> +static LIST_HEAD(efi_mem);
>  
>  #ifdef CONFIG_EFI_LOADER_BOUNCE_BUFFER
>  void *efi_bounce_buffer;
> -- 
> 2.34.1
> 
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>



More information about the U-Boot mailing list