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 59747C433EF for ; Sun, 3 Apr 2022 00:19:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8D29883BE6; Sun, 3 Apr 2022 02:16:15 +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="Sc4bws2D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C9BD83B10; Sun, 3 Apr 2022 02:15:39 +0200 (CEST) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 3138783B03 for ; Sun, 3 Apr 2022 02:15:28 +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-qt1-x833.google.com with SMTP id 10so5043404qtz.11 for ; Sat, 02 Apr 2022 17:15:28 -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=Anhlg8GMm3V9V1gSLkIxPoT0Ft6OyDePy1HXWalBie4=; b=Sc4bws2DVGW32w+EhvEZPUpxNBfLBbcHs+mkKW/LDyJJwoIL7acLoEMfXZ2H7RqPJ0 16QVVR2D6QwUPxwDQstv/1wVIT8fdWgqKIfDIv0fugXVxVfsT6vulsgK04Kdh6hxCIs7 nFrD/mqRcqD3GxtlOGQq075Mp7vu9wUZY8XWA= 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=Anhlg8GMm3V9V1gSLkIxPoT0Ft6OyDePy1HXWalBie4=; b=JkOEY1Ed3Gc0JvXNexU1HLtxxnozZOjlpMEHSl9KknQYTMeGHw1/jd135TvYR5NEBL U3w4YKrU0e3M6vMT4nXfqZWullblF+jqzJ7ThsLh3w4wRVTMBkhEibWM6LooqciH9+eu dUFiRBbSRMIGuuuY62QUE/bT88MGY/muris/GJ+rbNH3GJTxSGnDrblUCJ8b7bC9DRRV W779lxeB3DEDNlV7H6kf9cXnTnHWUOWWrFBFkAvEXOb4lfxPi6Lej2+p8e9/LfyB63fm VUjqMtSGNZNaa+SHV85daPF7JGmaV5ERabVg7jqzBuCUyd+oIybWG52BxEVf+6SLT/e3 Beqg== X-Gm-Message-State: AOAM531SbJbtVtCPXH35QmlHBzSk59NEufR9KXGB3nyJON3fpE9eqJkw x6qhb50Yr5XlVn8AsYAbujJhHw== X-Google-Smtp-Source: ABdhPJwvOE7VK6mQN3n3lAxMlCuMjv7nrc5vrTMGUAnlPonaTkTSaEyAjCdZd72kthrr89p9okZtbQ== X-Received: by 2002:a05:622a:1803:b0:2e2:27c5:7a06 with SMTP id t3-20020a05622a180300b002e227c57a06mr13226709qtc.152.1648944926944; Sat, 02 Apr 2022 17:15:26 -0700 (PDT) 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 193-20020a3706ca000000b0067d3e4b5667sm3813783qkg.67.2022.04.02.17.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Apr 2022 17:15:26 -0700 (PDT) Date: Sat, 2 Apr 2022 20:15:24 -0400 From: Tom Rini To: Sean Anderson Cc: Linus Walleij , Liviu Dudau , Andre Przywara , Simon Glass , u-boot@lists.denx.de Subject: Re: [PATCH v3 08/29] arm: smh: Return errno on error Message-ID: <20220403001524.GT14476@bill-the-cat> References: <20220322205938.1721846-1-sean.anderson@seco.com> <20220322205938.1721846-9-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="95/Fr2QqKwnQHIcT" Content-Disposition: inline In-Reply-To: <20220322205938.1721846-9-sean.anderson@seco.com> 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 --95/Fr2QqKwnQHIcT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 22, 2022 at 04:59:16PM -0400, Sean Anderson wrote: > Instead of printing in what are now library functions, try to return a > numeric error code. This also adjust some functions (such as read) to > behave more similarly to read(2). For example, we now return the number > of bytes read instead of failing immediately on a short read. >=20 > Signed-off-by: Sean Anderson Applied to u-boot/next, thanks! --=20 Tom --95/Fr2QqKwnQHIcT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJI5xwACgkQFHw5/5Y0 tywuTwwAim9wMHDJ0yhML/lSQqAlJQ5ibLVLp0uQ6lXnmOyKOpDqFkgtWcqpyEU0 QS8orDWYFNx8Db+GanOZHhDJb3u+T8eNs6PNPyBJ5gpquasI7b42IOHNLG4diHnu 7vDPolKFsj2bWfk8EGdRFD6uX7ugMzpU0j2rzZJoEpqaMwxn+JJt51BcUk8Ad/fJ otV0IUqB2iv1RuPMMFe9m2NqR9UMP2OophDTqSHttPJSzeLVABiTJwLaBEZl3qqp SHHV4+pfc/uzF6F6J44RwWqbB+szag2SXIUVg6AjSBQppDbSWeGREgreWAIWBwdW 6IY3AighTrdZn5r32iDqJAvlDuTQmngQP5GFy1HdVmpfbZtIvt0P+MS5H28J0EBE gsYrOtsIBbS9LQz9DAMG/GQ6SKqBB47ajURXqjIeykjbDEBlode1PQYpcwQkQf+O 8rit06koj1ozKp5DNzruvwV2IKNcS5DHO0VvjlGQ93Ma9d1/6LF+71zZFz7pztTp emzHw4u+ =iRjh -----END PGP SIGNATURE----- --95/Fr2QqKwnQHIcT--