All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng@tinylab.org>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	u-boot@lists.denx.de
Subject: [PATCH 4/5] efi: loader: Make efi_mem static
Date: Wed,  5 Apr 2023 20:15:18 +0800	[thread overview]
Message-ID: <20230405121519.778846-4-bmeng@tinylab.org> (raw)
In-Reply-To: <20230405121519.778846-1-bmeng@tinylab.org>

efi_mem is only referenced in efi_memory.c

Signed-off-by: Bin Meng <bmeng@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


  parent reply	other threads:[~2023-04-05 14:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05 12:15 [PATCH 1/5] efi: selftest: Make record static Bin Meng
2023-04-05 12:15 ` [PATCH 2/5] efi: selftest: Make load_file() and load_file2() static Bin Meng
2023-04-05 13:09   ` Ilias Apalodimas
2023-04-05 12:15 ` [PATCH 3/5] efi: loader: Make efi_event_queue and efi_register_notify_events static Bin Meng
2023-04-05 13:09   ` Ilias Apalodimas
2023-04-05 12:15 ` Bin Meng [this message]
2023-04-05 13:09   ` [PATCH 4/5] efi: loader: Make efi_mem static Ilias Apalodimas
2023-04-05 12:15 ` [PATCH 5/5] efi: loader: Make efi_runtime_mmio static Bin Meng
2023-04-05 13:09   ` Ilias Apalodimas
2023-04-05 13:08 ` [PATCH 1/5] efi: selftest: Make record static Ilias Apalodimas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230405121519.778846-4-bmeng@tinylab.org \
    --to=bmeng@tinylab.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.