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 <[email protected]>
> ---
>
> 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 <[email protected]>