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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DC85C433F5 for ; Sat, 9 Oct 2021 01:45:40 +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 1DE3A61027 for ; Sat, 9 Oct 2021 01:45:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1DE3A61027 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0D94836F0; Sat, 9 Oct 2021 03:42:38 +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="BvTRiLtc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B654E83661; Sat, 9 Oct 2021 03:42:00 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 AA7FF836CE for ; Sat, 9 Oct 2021 03:41: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-qt1-x82c.google.com with SMTP id r17so5973362qtx.10 for ; Fri, 08 Oct 2021 18:41: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; bh=F/v+Ei2r5GJ8gLerPC8J5HSsfyML4jYbTItOlVs0nVI=; b=BvTRiLtcSTDIFl7wKplpFHXDXxm1Gs+9nUuxnh3UeEC9MyOA8bgOs6cdjFEv/Ibqx2 nJBZqzwfSL8H1l+d7SYDY5M+IYPCSiFuHnOYU2iOa/Y1mfNkP2diCVY8TsTgFQ2W6F5j 859hTpcfqhaQ6pCLnBhhhoRHVhPxEc/r4uIeM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=F/v+Ei2r5GJ8gLerPC8J5HSsfyML4jYbTItOlVs0nVI=; b=g5YFX4WqctB1TrmHhh0V3Wkhfmr7RkQgYz57y5D/6Hnhb4f4glioIpHzqsDrYTjf1G 9Y1D25S1SqP50NYPToLO24zQP+SOieC9lZarLNcSRKr7WxvTxOnupJWaaAnwAsvKo5cz GnJiQLF5sgwynaBBq74H0FEr2QKoS8b/tPhIEXLSKcavAUQOaetLWY2/g8SNUxKc3UZj KEy2WJ1ZtodVuRSDDyVcNH/i0774M2euNwpJBGSQSbDhYnEBX5j2/uz3FgjSnEjegkzy 6bgRLe3Klrhps7b2iiEBGD/TaKJUsbai2RKOxfNOEbPTYMG5L6u4qNQcs7HRSRGy9vZ9 HjnQ== X-Gm-Message-State: AOAM530tzOq4tM/AiptV6ef6ZbRdJLOQki1jo1aaezrTk2WCtBQDpwYU SK+w1eQs59RY0DTXoOKC386iKw== X-Google-Smtp-Source: ABdhPJw4bWSq5WSJiPsnuEE2V8zJlH3pKCxsb9NIJBUtO5Z88KFFZRubJkeSHWTFeGBBQ/nxhdiskw== X-Received: by 2002:ac8:4b4f:: with SMTP id e15mr1816070qts.219.1633743710608; Fri, 08 Oct 2021 18:41:50 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-1c00-ef41-79c3-ef5b.res6.spectrum.com. [2603:6081:7b01:cbda:1c00:ef41:79c3:ef5b]) by smtp.gmail.com with ESMTPSA id s14sm868577qtc.32.2021.10.08.18.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:41:50 -0700 (PDT) Date: Fri, 8 Oct 2021 21:41:48 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Alexandru Gagniuc , Andre Przywara , Rasmus Villemoes , Robert Marko , Masahiro Yamada , Joe Hershberger , Marek Vasut Subject: Re: [PATCH v5 27/29] image: Reduce variable scope in boot_get_fdt() Message-ID: <20211009014148.GN7964@bill-the-cat> References: <20210926014342.127913-1-sjg@chromium.org> <20210926014342.127913-21-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="t3wCcZxwnWQbJWrM" Content-Disposition: inline In-Reply-To: <20210926014342.127913-21-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett 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.103.2 at phobos.denx.de X-Virus-Status: Clean --t3wCcZxwnWQbJWrM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:43:40PM -0600, Simon Glass wrote: > Move the variables declarations to where they are needed, to reduce the > number of #ifdefs needed. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --t3wCcZxwnWQbJWrM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg81wACgkQFHw5/5Y0 tyxmwAwAt7iS2cAbmSklXYHzSrOXmq4i5plLqV7A/QIJuC6yz87jsnaWEnADTu29 9C7Fxsc2VJSJ5jNz0qWg5C5lBSx+OTaG8aQvzKrQMoCa2YkagYt83MO5ErlThdxR y4JJXihaWufINfAR4qVOkkBmVug5MxkJACt6RZ26ipFt1Y+kFbPXNN3fYXiQlpX3 F7/Ms3pMqTBM6C0NXU5DOO34QmhDl7yQ5L0FdwMOheATi0X7eR+ohnfgAlYqskR0 Jdy8Xxg1Z1ZC8Hm1tH3rW9MEM6oUeXgS88NVHg/oKBfkPgzfxH0nn7IAPli8Kl66 6DobP/ZA3ItmKFtUZqb66xvHkaXlgiRqdhMClK+THvDjpAlfLKhCD7kUR7qStJhc yhZ8oVd7WxjQLNWWxcedVdYm5+EC7GNcyclVZbOcoMlnUdcDUXIWc4/q01f/ZCs1 XGkTXRUFGreUMfxXIEvH2LTHyktasp5kD5fXyfLJjrT9vKbJJvAQ7Kl/VDLW4UAD 0TCOCc+X =zVrQ -----END PGP SIGNATURE----- --t3wCcZxwnWQbJWrM--