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,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 74ACCC432BE for ; Thu, 2 Sep 2021 13:30:02 +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 D903761058 for ; Thu, 2 Sep 2021 13:30:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D903761058 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 90C10834AE; Thu, 2 Sep 2021 15:29:28 +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="tRz2kdrn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 94DA98323A; Thu, 2 Sep 2021 15:29:16 +0200 (CEST) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 3A0268348A for ; Thu, 2 Sep 2021 15:29: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-qv1-xf31.google.com with SMTP id g11so1112117qvd.2 for ; Thu, 02 Sep 2021 06:29: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=6UFdpYlfHKGiexxVfTSYOWMG8F7Ben95eG1QR1i/pmA=; b=tRz2kdrncLZKnVQ5K2B7DS9N75CNE5jSe9o1wwwG2TDUeKG9eC9sSfjXA0/3CTqFEW Be2g2Xz7p4DgyOFP2DAl8+P0SN85ZF3gTMaCb7SClKFt7xAdr8arsWi0MwDmgJSgrKaa qp3Ee64tuKI9KBVfWYGLRIXhYBPnX5fSsVwAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6UFdpYlfHKGiexxVfTSYOWMG8F7Ben95eG1QR1i/pmA=; b=XELu6QLd2PrBFefzWCX0adL0laFA090/fTo1IF1qqdES8qVuizsSwB7hvmO/xvNttK obBpVfA+yzo5KawO5rhx+A8p7tHxzcOCMrwiHO5Qfrnfw+YzV5DMEzg6yCUvRtvKZw4P 0MD1b7G4f1paIz0cOMJaFxz3NXXaeIvS9QYROHCP6tXEOfLvx0dKu3csi69ALAtQPDeV YvDACvxEPtGVU2ezHLeFEmPkGd12VpiFdZ3sEtIQ8rfIopgERhlAF9Z3QUFsaWBg0nHU SzM+quz3NoBAwRG2Tm2KKrINYYEAz9B7Pl2pcdeqO0F9EKBQbrXvW4AJu+6K7A/m5E3d HoLg== X-Gm-Message-State: AOAM532VLqvxMFuDfKJO2NpYqltUhd7BbsGL9Ky/DkMWvsDs/AjMvlLl aYaHDWJmPKafvtGtGQP2cvtRYw== X-Google-Smtp-Source: ABdhPJwMGRyIEjnhIRg2XBzCo4IETOceLPdd8P5sKBpVBWyVEGXfUdqlCLMOCCPL2u/8j+Ok8/3jGQ== X-Received: by 2002:a05:6214:10eb:: with SMTP id q11mr3226827qvt.7.1630589351043; Thu, 02 Sep 2021 06:29:11 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-95b1-4c42-35f4-d991.res6.spectrum.com. [2603:6081:7b01:cbda:95b1:4c42:35f4:d991]) by smtp.gmail.com with ESMTPSA id k20sm1423659qko.117.2021.09.02.06.29.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Sep 2021 06:29:10 -0700 (PDT) Date: Thu, 2 Sep 2021 09:29:08 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , Heinrich Schuchardt , Michal Simek , u-boot@lists.denx.de Subject: Re: [PATCH] loadb: Properly indicate aborted kermit transfer Message-ID: <20210902132908.GE858@bill-the-cat> References: <20210806160739.18003-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NKtV1WVffjmfvfll" Content-Disposition: inline In-Reply-To: <20210806160739.18003-1-pali@kernel.org> 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 --NKtV1WVffjmfvfll Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 06, 2021 at 06:07:39PM +0200, Pali Roh=E1r wrote: > When k_recv() returns zero it indicates that kermit transfer was aborted. > Function do_load_serial_bin() (caller of load_serial_bin()) interprets > value ~0 as aborted transfer, so properly propagates information about > aborted transfer from k_recv() to do_load_serial_bin(). >=20 > Signed-off-by: Pali Roh=E1r Applied to u-boot/next, thanks! --=20 Tom --NKtV1WVffjmfvfll Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEw0aQACgkQFHw5/5Y0 tyynDAv9Hmci4Z03bFmc6BbmTAgwrZBBFkJkI1n63odugF5BVIkS5+28m+PQEEks 6tEwedNVXTRhU925MkSRDfobPjPvZy/tPtv1HqNSSlQT2vxT6zL6Wx9eIRCMfNEt 5m1yy1kpopC1nRmvS2FKU/4/ZLlniz87QLCpkrL8FmT4gaVK25s6gqS4wxNXDszi 9mSNL1D+Xo/LERhjmSfhvovqErAMXNtYtFXCWGne6Z/6jnUpO1Y0pvwnoccsacWz 4/Ba+fZDJ5aLH9VevR5pBVY24urr5d1dhZaIyycoPMmIQO39wUs+rZc0i5IXIRNK tahKsEjdgMk1Gex+g/qFNCgw37BfdyNYmVVimkQ5MAG+SkvoRz7pobtDcYFYfWS5 Hw1H9+33cn36LDSt1uToatt50S/8+OIgdkRAdyG7gNiP/Iv57+FlKVt+ADrHSiCt haYqypm0QJeF68ERO/FF+xkojJX7DBYYEwDhOeDC0ZgwfhDXKnGShOYnj1Rq1jN8 j/mmxfha =VDVz -----END PGP SIGNATURE----- --NKtV1WVffjmfvfll--