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 C3A9EC433EF for ; Sat, 9 Oct 2021 01:44:49 +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 5127D60FE8 for ; Sat, 9 Oct 2021 01:44:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5127D60FE8 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 449DF836D2; Sat, 9 Oct 2021 03:42:19 +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="iiRMEfi2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5ED2E8362B; Sat, 9 Oct 2021 03:41:28 +0200 (CEST) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 7D3B3836B1 for ; Sat, 9 Oct 2021 03:41:23 +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-x836.google.com with SMTP id r1so11246170qta.12 for ; Fri, 08 Oct 2021 18:41:23 -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=4u/ZhPuZSYWYSeSEc6jTpGKbGYBmv/nvNDdDnqrP0bc=; b=iiRMEfi2OnCbpGkqHfqkI/AvdEuDxvLs00wquV2p151niLQk8j9UfNRGLLkwuEvGUB SAodBbWwAH6CHPDz6Um+qTSVV3O7gHAfNOMwVZKMFpgywkdDhCYM4xC9MDkioCH5A+gC yEdDatCPZOD8rBj9ZduRu9Yw0PAJ/IYajOeA4= 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=4u/ZhPuZSYWYSeSEc6jTpGKbGYBmv/nvNDdDnqrP0bc=; b=5+Z7WXlo5gwdyTvgQXm/fDStEbBun2Erksos58aovTfvq0Oa3GKCtkUhXNYS7R8jMe GFD0Pnh3vyCYjl+5WAHKi3PfMyF3lMe847xLgo/Mt1VGvXPWO9rEmKu34azMRNTGlYc9 FmcGtry941hnTa/q6bHbe0ZXZkWfNilYZTIt5mp6ZSesFGqcEvDSaFIGDJ2U6QCqzJ8L iXOLkcDSM2nB9K/utxYTd4Bv2iIxSLqAHqVgHfloDMPkDgosz49V/HLE5sCliFD0VDkm hy9L8AijWqYF1NhpDDd3CBRI8rK6f6wfehLRUWgRzPV+u3M+l02klr8E+4rvWvhb0BE7 L9mQ== X-Gm-Message-State: AOAM533iifOCkXWZSbwFajlgWoaqJxbEyXo+Z5iJSeWk5BgG8OprYm7L opAGGFan/5zxFU/uQlzGqIDXZA== X-Google-Smtp-Source: ABdhPJzH1kU3ILg9FjCu1mO71nuQaFE0enshasCBYI2u+R2wWLxAbw5pSwT5IPHRMkvpR/HRpuih1A== X-Received: by 2002:ac8:6a0a:: with SMTP id t10mr1727083qtr.299.1633743682390; Fri, 08 Oct 2021 18:41:22 -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 o21sm705107qtt.12.2021.10.08.18.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:41:21 -0700 (PDT) Date: Fri, 8 Oct 2021 21:41:19 -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 23/29] image: Reduce variable scope in boot_get_ramdisk() Message-ID: <20211009014119.GJ7964@bill-the-cat> References: <20210926014342.127913-1-sjg@chromium.org> <20210926014342.127913-17-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TMJUm4hsTn/F+xXF" Content-Disposition: inline In-Reply-To: <20210926014342.127913-17-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 --TMJUm4hsTn/F+xXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:43:36PM -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 --TMJUm4hsTn/F+xXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg8z8ACgkQFHw5/5Y0 tyzyHwwAjEC2ozc4TkWcBsoa99saMlkXKoa3KNZXEXjjH/zHmPZtdrDfYoIlYW3i XM0bH7//fggZ1gfMVQsyjzWK2h+NBK8utbmRHTJV3JuFYonUgfBO3mXwWDYqs5q2 UjQM93ZkoodyuWegDNOpIovKzNaGPZ2L3nHavcr3UHYqc5jtEJBpHHPrkjUgdI27 PW7TpGR7LUJXgrnAG+Uy2j6jJenvrkteF09eNIT7BeDuf0ZrfzqefDNMqAbyGiC2 sqiSm0BSmdDKwpDiRIbfw3bZxhRnnR4z+I39tgZbS3Ui0/spbAWsyTXk46rp88QY 19heVs21XvO2B71Z62EB++tK8BcdJd2p+Qj/XoLE5fYn9/RcKuCTZjH7zOBYY1Wd hs+Hufwrh5iV6BcbhH6ZPsFN3pEbpIyvRWbCQJOGy5/n8OZyT6yw9snvQu3w5lDG naZb+7GlfMD1JG5L3VlBkxpecLeGEugC0SSjb3RTzN8c2BWLEeVUircquXRvXtFU VGJGYKCD =/I7b -----END PGP SIGNATURE----- --TMJUm4hsTn/F+xXF--