From patchwork Mon Dec 4 15:33:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 120569 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4579476qgn; Mon, 4 Dec 2017 07:34:14 -0800 (PST) X-Google-Smtp-Source: AGs4zMY0ioDVE+skELsEiWi5VYORYMf1mRdWqrQKlaoOznBwlNfTfwqXX8AR9XKg1J3a1nV8iDDu X-Received: by 10.80.146.51 with SMTP id i48mr7719126eda.198.1512401654748; Mon, 04 Dec 2017 07:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512401654; cv=none; d=google.com; s=arc-20160816; b=XW9aut17sbBeZSbyQ9y2XPcWxvzs5EVoK/BLq9cpS5e3KCwrj2mE+aiShY+ycR7Z2f WYM1mBM7D8kHO1Xd8/NG6drNKyhRkDmlatSa+CY9/hqcy3Y4msqIcAKmgbHvMwyEzHOU QWpsq2WSD2uAVYoSNCpa7i9Sys/aqrhwb/kswbFcOEK1s9803ySU+bcYqBZBwzdPp/e7 LcNvdIaAmfvUgWdn4K6HnTIsqN+jSLlPwVyNU5OuUpRl7zlDB3sWWwE6b6mkgR18h5qX A9Ktzounxzxh2bfbl8DX7s01TYr1+B0LxZdSKo3XuJDijb8dFX5bYG2ODu7UZyBTJYJc UR2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :arc-authentication-results; bh=G3nuhWmMNmLb+GjA6DDADVOr/9oH1QScLVkbNZENIL8=; b=rvw6FbSEdRVUMPW9WEG0hhEEMQfUplWyilEqRPg1woVrTHTV9r9SBiLvrf+ahnD+g2 wScjrqoRvfwqA+OoxmSkB7l8vQ7LG8+Y6tEmDfdv+uOfDl27MhqnaLZBd+vZhpg58d4J xtKRsiZW0MON7Ke+i7xKmQkH7nLaB2f+qAVGZbTCOR/Q6mgoiJmXBxjDhdim/PlbbX+w 1M73EFWMtH7EHTKpZOkX6PpMyA8ZR7HFTtOWGqiHpOgc9UheSDeIoKcVphQ2Zplo0XBt jEknYfOhecS5m2czF/zB+l2uRlLMcEG5A16AiCybvDM7FMHL0xMZiQHYpQi5Q9wlcowm 3Y/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 7si6264607eds.499.2017.12.04.07.34.14; Mon, 04 Dec 2017 07:34:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 52397C21F5D; Mon, 4 Dec 2017 15:34:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D49E4C21EF1; Mon, 4 Dec 2017 15:34:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0DAB3C21F51; Mon, 4 Dec 2017 15:33:52 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 4E54FC21F2D for ; Mon, 4 Dec 2017 15:33:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1BB70AD70; Mon, 4 Dec 2017 15:33:52 +0000 (UTC) From: Alexander Graf To: Bin Meng Date: Mon, 4 Dec 2017 16:33:51 +0100 Message-Id: <20171204153351.8355-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [U-Boot] [PATCH] efi_stub: Use efi_uintn_t X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Commit f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot services") changed the internal EFI API header without adapting its existing EFI stub users. Let's adapt the EFI stub as well. Fixes: f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot services") Signed-off-by: Alexander Graf Reviewed-by: Heinrich Schuchardt --- lib/efi/efi_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.c index 9788dedba7..205aa19947 100644 --- a/lib/efi/efi_stub.c +++ b/lib/efi/efi_stub.c @@ -277,7 +277,7 @@ efi_status_t efi_main(efi_handle_t image, struct efi_system_table *sys_table) struct efi_boot_services *boot = sys_table->boottime; struct efi_mem_desc *desc; struct efi_entry_memmap map; - ulong key, desc_size, size; + efi_uintn_t key, desc_size, size; efi_status_t ret; u32 version; int cs32;