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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 42D00C433F5 for ; Tue, 25 Jan 2022 15:59:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 93F7283910; Tue, 25 Jan 2022 16:58:17 +0100 (CET) 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="kt79W6H9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7DEAB83910; Tue, 25 Jan 2022 16:58:15 +0100 (CET) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 DF7E483905 for ; Tue, 25 Jan 2022 16:58:12 +0100 (CET) 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-qv1-xf2a.google.com with SMTP id hu2so25634633qvb.8 for ; Tue, 25 Jan 2022 07:58:12 -0800 (PST) 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=j6skGUb5dqJqShHWOJ8gbGkVghShAbrjYFZzEp5T4iI=; b=kt79W6H9Q+tJiljDF7q2lPK6936fMtQOn/ylyw6qfnzSjR6En9JwwjUbvpvYqEBaWH BfUuS8IffgTbcQpIGacAhsbss2nQIQW30AVwg0rpJXb6E+/RvR9VSairA7Puau58qpOU fLMEqtf6JzhMrjtAmfzMLwHZNG0yxpSAklghE= 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=j6skGUb5dqJqShHWOJ8gbGkVghShAbrjYFZzEp5T4iI=; b=WqIw/vp0X3Q9UTIAyXPOkLpXssptkqQ7RGx+mwRc3QeEwVLccIcDNxBy9O+091/uNs H6V7kbg6VBr4CedmAdANky72Xzi9mnooDWtOJSoglvT8FwRFCa0fwEkvP/ztGTjQYStk R+gat83elXmgQrnA2VcHVhJmVPUHMvwrWtc8GC2v7l+IjR6yAk6+Bb8+AAi7kXxObeo1 ZFzeV2BKIkRqR/YW/URuP3wMgmzxvnYNN8bo//gdXFiByv8+D6F4BAk3icWS+wd4reid E2Vrc09Q8yopySOuHZ9FZu6RRoMwFt/8uy9l1ISo8Pgo9/+ZCDk3NY/pL9BgTO+DW86u 3skw== X-Gm-Message-State: AOAM533RzcIbGgMcQiQsDHC53j+TLm+Oj5vFdq6bMlMmeRzzFGkgSRl8 0qAz326s7RF76NC/KZzgxyInwg== X-Google-Smtp-Source: ABdhPJxVCPHw9n4lmopGsvQxEsoKdy3DBs9j9xsB0d1iT6hPbMi+l/BB/nPb9GHIqN1v7jE3Sps+ZA== X-Received: by 2002:a05:6214:d04:: with SMTP id 4mr13524111qvh.91.1643126291854; Tue, 25 Jan 2022 07:58:11 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id i13sm2184482qko.91.2022.01.25.07.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 07:58:11 -0800 (PST) Date: Tue, 25 Jan 2022 10:58:09 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Masahiro Yamada , Trevor Woerner Subject: Re: [PATCH 4/6] moveconfig: Use a function to write files Message-ID: <20220125155809.GX7515@bill-the-cat> References: <20211218215435.1159723-1-sjg@chromium.org> <20211218215435.1159723-5-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ai6NJizWfpRUKxSm" Content-Disposition: inline In-Reply-To: <20211218215435.1159723-5-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --Ai6NJizWfpRUKxSm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 18, 2021 at 02:54:33PM -0700, Simon Glass wrote: > At present there is quite a bit of ad-hoc code writing to files. The > treatment of newlines is different in some of them. Put it in a function > and set the unicode encoding correctly. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --Ai6NJizWfpRUKxSm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHwHhEACgkQFHw5/5Y0 tyyVXQv+Mnta98H1D1Qn3iiy9dEMj92KQwPPqHi6oBDvUFycEdQ8nJe+hcpSw1ax jGblhIIPdSbyIqENHFFkQ47bG6vpsWG1gn4hK7z58fzWsCHRaFk2lp53id/5uFvJ RTHIL5y4ModI+VimfyOnObu99ljfNxmiE26Wg/FDKnoBTXGi9J75lXsUH6UEpS6B WpRXLjQX3ENoMwr6dsHuyXG9Ncf/6Lz3TJbow7XyLN8MJkahHErGKY0KJclATmPw pWS8sZNKh7RBwrIidNYsvmaQTohLcIgyeAZ/hNFrdAfQFdE4vSdJl4NkY56QRbk6 b4wRVNtusKn1OKDp7YWuvDfguTLvpPZzEzPl32CRT5MnRybs/408RwYOIn7MWT7X lflJNV5MT0fTIaX/CxHVensFhcBwSqsKjsEfn3GZHHCf/upwBJFouK3GNh5FTZwr UAvvfEz+yrZoVQqGwrPNCXEdayfM1VeyuXT8jzgA2Zt9d2hMC32+DfA7Obf6kDeO uUPPAiCy =IUDM -----END PGP SIGNATURE----- --Ai6NJizWfpRUKxSm--