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 X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85637C47084 for ; Tue, 25 May 2021 00:55:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 004B161415 for ; Tue, 25 May 2021 00:55:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 004B161415 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A333182F17; Tue, 25 May 2021 02:55:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Mj2o0L1N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D24F82EDB; Tue, 25 May 2021 02:54:57 +0200 (CEST) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F01CB82EC6 for ; Tue, 25 May 2021 02:54:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x734.google.com with SMTP id c20so28911787qkm.3 for ; Mon, 24 May 2021 17:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OtOtfKrVME3j3oLXSB4MaDfIE4jlm4zWv9OnwrRrDOg=; b=Mj2o0L1Nm7bf9+gkbZj24IRc4N7VYuSFy+qbzShNHLN/i771sEwvX4VCdRpaEdOHMg bmWkr8TMn6Qk5i9tGBQrLNajtaxGXoKx2QxhpsG6TpEKpbxJD6Il29xh8iYkHOnPAX2L dG01VPXNJ8EcCG6wkK486S2fnLVpI4LHUpjaU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OtOtfKrVME3j3oLXSB4MaDfIE4jlm4zWv9OnwrRrDOg=; b=hzLOr3JrAmt0xdfsADG9vN+iEkkqADr40UGCpImASO4SONqDVn1WKF07OyfPJBz7Ya ITWUwLotKBMotAyvqOJuJYhQUtJRYVRVsurxFHE9KaShDlacDhl7vxx4Yk+DUFq7SHvx th9msQShLwbac2lWxkEvrHFxkDxjQz+ZdEIO1Dglhqn7DrHldxuaJ1uxYC5IOLuQIKlU 8FUYa2UZ802Ezt7m6U1mVTTiLK2JP/DBxvUURPQWWhbRQe1w/6x+tBs3nTqR5cG8XO/5 cJ4fVxaJarmLZvkou58GCTSa168Ke1Vyrq2elSa7lt8uo8ny6tDayA4v9+Et76x4Jl6G satg== X-Gm-Message-State: AOAM533sSzdYfhFJRnwFCAZxjzPbi94Dr3SDYZLa0J2GwysEHnf03lsm 90N67JgndbjIxE5RolTlRvfjlA== X-Google-Smtp-Source: ABdhPJz9sHBg/D6icY/bIUF/pT901R9KkwypCEMMyM1HmJ4L2Q3CjuFE319IIksR7Tq98AwiDdrLOg== X-Received: by 2002:a37:270d:: with SMTP id n13mr30981075qkn.146.1621904090984; Mon, 24 May 2021 17:54:50 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5ce8-9acb-4a3a-47a0.res6.spectrum.com. [2603:6081:7b01:cbda:5ce8:9acb:4a3a:47a0]) by smtp.gmail.com with ESMTPSA id c185sm12070395qkg.96.2021.05.24.17.54.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 May 2021 17:54:50 -0700 (PDT) Date: Mon, 24 May 2021 20:54:48 -0400 From: Tom Rini To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: u-boot@lists.denx.de, Simon Glass , Heiko Schocher , Patrick Delaunay , Patrice CHOTARD , Miquel Raynal , Pali =?iso-8859-1?Q?Roh=E1r?= , Stefan Roese , Heinrich Schuchardt , Alexander Graf , Marek Vasut , Neil Armstrong , Ryder Lee , Adam Ford , Bin Meng , Harald Seiler , Tim Harvey Subject: Re: [PATCH u-boot v4 07/36] efi_loader: fix warning when linking with LTO Message-ID: <20210525005448.GM17669@bill-the-cat> References: <20210520112425.25166-1-marek.behun@nic.cz> <20210520112425.25166-8-marek.behun@nic.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6zqaT7480S9Ka66/" Content-Disposition: inline In-Reply-To: <20210520112425.25166-8-marek.behun@nic.cz> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean --6zqaT7480S9Ka66/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 20, 2021 at 01:23:56PM +0200, Marek Beh=C3=BAn wrote: > When linking with LTO, the compiler complains about type mismatch of > variables `__efi_runtime_start`, `__efi_runtime_stop`, > `__efi_runtime_rel_start` and `__efi_runtime_rel_stop`: >=20 > include/efi_loader.h:218:21: warning: type of =E2=80=98__efi_runtime_sta= rt=E2=80=99 > does not match original > declaration [-Wlto-type-mismatch] > 218 | extern unsigned int __efi_runtime_start, __efi_runtime_stop; > | ^ > arch/sandbox/lib/sections.c:7:6: note: =E2=80=98__efi_runtime_start=E2= =80=99 was > previously declared here > 7 | char __efi_runtime_start[0] __attribute__((section(".__efi_run > | ^ >=20 > Change the type to char[] in include/efi_loader.h. >=20 > Signed-off-by: Marek Beh=C3=BAn > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! --=20 Tom --6zqaT7480S9Ka66/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmCsStcACgkQFHw5/5Y0 tyw6Wgv+Nd7olmeBYYZAVfHIbSM22I/DaGlR6kYV95DdZGTNmh7jJPDoZ6w3J/S0 sv4+xb0/WO3ESKh8jx41iWAo6rftMm8B9W2IIY+s6xdBNENdhXurwERoQPK4WskI lVvB8soXRsanPvXvt2bp4IJ58oNi4365L7qO2GakfLh2jTg/LElwt+ukj5TyV0+z C4kmWVucfqrOZugVJQO3LYmxesGkDW2n3xSkUhQHienYLSXvtCM/dhMq0QTNZ+K7 WXi/3BdMnEshHG4F0EidZoDyNjz3MmCpQUYmZk6sWICu18xDFgh/Bjp4jLVjzgdi Qz+e7s7WPer4GeqzQZqtrvmJhmFGjOyxFPWxn1Z8TjqImdFWabFdHPRjl7Cp2cG3 k97Sbt5i6wgW5NEAJRJKr/AgAK01MI1IyF06bhDcpkLErZwy2qPXUzy7ZXRMcvwn r+pcqIgiz2XSMvEP2L7lysGuvz8BXUgs9BriJel/JW+405Yj61M9l6zFy1uNBBO6 XEmH0Ut7 =p2BA -----END PGP SIGNATURE----- --6zqaT7480S9Ka66/--