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 BCF10C433EF for ; Thu, 23 Sep 2021 02:12:06 +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 498916105A for ; Thu, 23 Sep 2021 02:12:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 498916105A 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 7B10E833BE; Thu, 23 Sep 2021 04:11:57 +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="bOz1yUYz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C186483301; Thu, 23 Sep 2021 04:09:24 +0200 (CEST) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 A8B6883383 for ; Thu, 23 Sep 2021 04:09:12 +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-x72e.google.com with SMTP id b65so16478735qkc.13 for ; Wed, 22 Sep 2021 19:09:12 -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=EkDQ+zpP9uNwvJiJZoN8RabZmuterCfL3Ut1AfGjRAo=; b=bOz1yUYzUhlagTd9pcR93w0usOEhGtA7Eis6lzQ2cPd287m3XXXOiRlz9RJ1DCyP2B M5v+/+9XUIn9hF8qTvXZAfChzKBR5oq0NFZpLep4KK4HDaHQsKlW7c8QjnA3UyaFn1mf 9s9NUt+xU3qkvUTs4A4Z7R/mYPrkTWDrcySGQ= 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:user-agent; bh=EkDQ+zpP9uNwvJiJZoN8RabZmuterCfL3Ut1AfGjRAo=; b=wDGMpMNBU6NuQj7h7KwBGKD1FpiMbsVHKnLrFISBFqczMJuUCaZB8hIcQTitpUjiUw uiAx83SUn7XofxGlibFlRByAImu3oaiBJMO/D7MZGDLfcmvZdPzHLX6DY1xiFDLLHWGr TvlBOJs7yoFYBlSftWLqTeNeIsVLr7lCyLnz7iBuHYRzDAekZpEIPXCGIqX6L6PIV4Vd mg19vTKBHkd0+YX44EWfop4g1rjnpZQTucVE5wWl2sMgMHli7lnUzyGia1Y/8ZdAw/Es DWwVxywb+Cw4o2J0kDvf2jGjmaa1iwaZaOLtHS1Pq+dg0cQY+IMYUTWD5e+zX2oR0sVS 8ENQ== X-Gm-Message-State: AOAM533lduIHt74K+P0pwtZDMoezSJgOVCmuEfs71rtSh+pbG6LoTNja rq073l9uVaDeVsENer9ONkt7qw== X-Google-Smtp-Source: ABdhPJwlb7BwgAZ/JLifsdxLSYpwKtVo0it5q3sOxiVroJD2r7R56fG7iZ/Pq1wa7vjyPJhAt8FwZg== X-Received: by 2002:a05:620a:2849:: with SMTP id h9mr2594184qkp.69.1632362951576; Wed, 22 Sep 2021 19:09:11 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-a58e-d475-4878-38e2.res6.spectrum.com. [2603:6081:7b01:cbda:a58e:d475:4878:38e2]) by smtp.gmail.com with ESMTPSA id p15sm2689858qti.70.2021.09.22.19.09.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Sep 2021 19:09:11 -0700 (PDT) Date: Wed, 22 Sep 2021 22:09:09 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Marek =?iso-8859-1?Q?Beh=FAn?= , Patrick Delaunay Subject: Re: [PATCH 08/11] sandbox: Add a way to find the size of a file Message-ID: <20210923020909.GW31748@bill-the-cat> References: <20210819034033.1617201-1-sjg@chromium.org> <20210818214022.8.I474febf1cd7d0eece13bfe3345b3851b75faf3ee@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3jK+0sHr6j/jwA0V" Content-Disposition: inline In-Reply-To: <20210818214022.8.I474febf1cd7d0eece13bfe3345b3851b75faf3ee@changeid> 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.103.2 at phobos.denx.de X-Virus-Status: Clean --3jK+0sHr6j/jwA0V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2021 at 09:40:30PM -0600, Simon Glass wrote: > Add a function to return the size of a file. This is useful in situations > where we need to allocate memory for it before reading it. >=20 > Signed-off-by: Simon Glass > Reviewed-by: Marek Beh=FAn Applied to u-boot/next, thanks! --=20 Tom --3jK+0sHr6j/jwA0V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFL4cUACgkQFHw5/5Y0 tywAtwv/V4I8KiyX40DF6l0Mfi5Xcb8LupXUNKhdKnJKg+s08w+WPWeQRyIMbxxw RaBTead6QKhNyuTWr4tCoqqOSox4f49pWRbdUeRvC1ZZ3GWRACJLoR+e/dSl1hr9 4jhMNNkrAVfHjzIuI6OvIiHYuCfLWzAiJhGiD1nCk2Fmif/3fLyc76bFQZlEtPMb MAT2mWFEKKpKWa46PK6BKFVr6+BgnqNEN8zUHzABpm3C0eAoxQhNARmDsIp/rOfk W80pNR8AKmEmzpqBctatb0Cf3OL3J1PH/vknjs5Lik7QWwmlVlgoQkGiRnT/zYWT wxxQWDAZk4SLl9E5dpTPO2c4eFkS8oPIMH1IgyBQhSPNlXiGSmG2v9UpI5rFcbV4 fpu0aUzf71YHq5oYNnzF43D7DUcYsE8k6d67YAqMo7kmrhRt6B4/QCsPY4pV7l4x Y8Fm7UP/OXMktMyx0DrIPx3pu/4VfFCGxD430/xl2JHTQpo+3rxnIcBR9mLsUh2f fob99o+9 =j6B7 -----END PGP SIGNATURE----- --3jK+0sHr6j/jwA0V--