From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35629C7619A for ; Wed, 5 Apr 2023 14:44:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 250C885FC9; Wed, 5 Apr 2023 16:43:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 52C4285F75; Wed, 5 Apr 2023 14:15:43 +0200 (CEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9449A85F74 for ; Wed, 5 Apr 2023 14:15:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng@tinylab.org X-QQ-mid: bizesmtp71t1680696927t4qqei49 Received: from ubuntu.. ( [111.196.129.125]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 05 Apr 2023 20:15:27 +0800 (CST) X-QQ-SSF: 01200000002000D0F000B00A0000000 X-QQ-FEAT: znfcQSa1hKaTqmVbNUb4wo2jpc4AuNiAuHdjzH3Ncf/yyNTtD8rBq61YteEyA RP8XZd26Wd0KAmIatmY4jOmKg/DB7yJvoYZ3NjSOfPQ8NV95uV/eMNiKTRfN5jrCynLgCzS dZCj6MX2lo9fob6tUJEx8/huC0brXExp7z9MVK9DZMtGXPHyOYcLyfQVoYd+zA3JXpw41rZ Qb7RhA9QRHWkGh1/4qJQdlKiu+USVy5IvJJUkhCTZoqC+zKWPFbUIbGcSZj6LNyctg5P/r5 G4B8U2nMV7pWvuah+PJ9Kgi3oVWRvZ6OHnjyoc9HuQS1e/vSrK2ALDdAE+8vFjMgNkZcYzs Rx9SbaVeD5iiDWwJN77PxZ0rEQJEDemVdhqed3CT1V5LEwDUvI= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9448941772464958953 From: Bin Meng To: Heinrich Schuchardt , Ilias Apalodimas , u-boot@lists.denx.de Subject: [PATCH 4/5] efi: loader: Make efi_mem static Date: Wed, 5 Apr 2023 20:15:18 +0800 Message-Id: <20230405121519.778846-4-bmeng@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230405121519.778846-1-bmeng@tinylab.org> References: <20230405121519.778846-1-bmeng@tinylab.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvr:qybglogicsvr3 X-Mailman-Approved-At: Wed, 05 Apr 2023 16:43:25 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean efi_mem is only referenced in efi_memory.c Signed-off-by: Bin Meng --- 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