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 E26A5C761A6 for ; Fri, 31 Mar 2023 14:21:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9794860C8; Fri, 31 Mar 2023 16:19:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="LiSxi0b+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5FF0C85FC0; Fri, 31 Mar 2023 16:17:12 +0200 (CEST) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 D4A8385FBE for ; Fri, 31 Mar 2023 16:17:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-544f7c176easo417193697b3.9 for ; Fri, 31 Mar 2023 07:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1680272225; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=PIUPzufjPLB9N2u7I7kFm92EEvnYST+zo4Fblc1T6dQ=; b=LiSxi0b+egJNXYAdgZ5nDfcjDF9Em4uYvvPPIySRwi8lTYhTPKPFSG7/I4p8e/i/Sd Y6vc+HhOVNmsikBl8dUfewhX/QQONjwA3VZktnCf9DZO8WeZ4dTbe12iodzIVDPD5aSv mo0SqYY8MqWXwdNyw/huolnmVubkonotvocH4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680272225; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PIUPzufjPLB9N2u7I7kFm92EEvnYST+zo4Fblc1T6dQ=; b=zwyxffoIesqiKHyu1OAxOobB6e2hMTFCZe+8ROebsRGlJlmG7gj4HgOnlrUth8Ew5P V/E9ZnChE9nUOCs1e2flacdQVujEcEkx9dVERjgtuYb6Cjo9CKd5rHt6VWeJxzvGel/J GCYXOXge6thXrVVFDrmDib44fReZhDyhVcMwFRycP7YfbCYy9sH2rHNpym7w3rInO61R HVL3S+OZfXMvNAJogaakFK2xsB82yBJfdzD68IU3SH3A86iStHAiLG6BOquuXBti/6Nf +q58tfics61zxVSAuz6GJXrcPbzbQEGq9AGtPmT4RdNIKXwS7enqyB6kVVsMFTzZfbQC JBVA== X-Gm-Message-State: AAQBX9dwQ4iGPWckKjxmxBrfVwAk10tTeCzWFfrGYC4SGeBQrqjHadxJ rdzl/mD/jD26i7PeX7z4qpc9gw== X-Google-Smtp-Source: AKy350aThq6rbENUuUGkb1hdISbcMf7nNEzvTV901qz/d2huP3A3AWpnYPweVEs3t8ErhIQMNG7lJw== X-Received: by 2002:a81:8457:0:b0:544:9b15:e197 with SMTP id u84-20020a818457000000b005449b15e197mr8710709ywf.20.1680272225353; Fri, 31 Mar 2023 07:17:05 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-1500-2834-9def-41f1.res6.spectrum.com. [2603:6081:7b00:6400:1500:2834:9def:41f1]) by smtp.gmail.com with ESMTPSA id v18-20020a81b712000000b005462ad5f788sm543803ywh.116.2023.03.31.07.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 07:17:05 -0700 (PDT) Date: Fri, 31 Mar 2023 10:17:03 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Ilias Apalodimas , AKASHI Takahiro , Heinrich Schuchardt Subject: Re: [PATCH v2] disk: Use a helper function to reduce duplication Message-ID: <20230331141703.GV13222@bill-the-cat> References: <20230319192957.1084530-1-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vDhJARjAarDCZzQv" Content-Disposition: inline In-Reply-To: <20230319192957.1084530-1-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.8 at phobos.denx.de X-Virus-Status: Clean --vDhJARjAarDCZzQv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 20, 2023 at 08:29:57AM +1300, Simon Glass wrote: > Reduce the duplicated code slightly by using a helper function to handle > the common code. >=20 > This reduces the code size very slightly. >=20 > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! --=20 Tom --vDhJARjAarDCZzQv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQm618ACgkQFHw5/5Y0 tywJTQwArQZicfhu/fQjE4Xg+TztPHMi7fxPQmGexTinleA1Kt4Lmc4GHa6j5Ux3 7UbR25cAw6Dq07zpWly8iDmbJCQmnneIT8kjdES0gAStGrwTjZqsTSjFpLTyfLFI V1lrQkBDeQZ1Au366IirGBEMZ0HK8VIfIYn/Tu6r0HUdfHrvdLjeksBv60mzP+aM CqKrWkrYGSoEZH7FqZdw98ByYUfxEhrLwdYDiDocsSGn1HYBxegqVTL0ZR6lfPZ8 yo9i6Fi3TMht5g+ipIZb+PBjtxbnvBBWpKTQEylKpf4KO0Pbi7o6pgguvmKWGPH2 c2Lz8jquPzKz1kyz4u3neC8h8uVvXtW3VREa1cED3wC8A5r9acShbUpagE07Y89W SQhDIMPwQ1ZZIzCvC/Cb6u+gIsVwoVp68OA8z83OyWBFwSS6hGlk5BYU7MT0hV1j /CflI+qS8ZAkvWgCldbMxLSWJRjy5pL4Hn+ojP5D6yJp4HOxFzT2oJhChZozHt4v X4lsc34l =8mY0 -----END PGP SIGNATURE----- --vDhJARjAarDCZzQv--