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 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 C089FC4338F for ; Fri, 23 Jul 2021 18:53:50 +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 4707660E0C for ; Fri, 23 Jul 2021 18:53:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4707660E0C 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 7A5DD82DD5; Fri, 23 Jul 2021 20:53:43 +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="LSxesL2B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4561982DC3; Fri, 23 Jul 2021 20:53:10 +0200 (CEST) Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (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 4EF5882DBD for ; Fri, 23 Jul 2021 20:53:06 +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-xf30.google.com with SMTP id db14so1047434qvb.10 for ; Fri, 23 Jul 2021 11:53:06 -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=ZdjRM1XwQmULX5gFvzGdW8Eg16wK2VHTxnl7dWyk940=; b=LSxesL2Bj40O1xH9W9+6dDU3+OC8gGFP7EVMO7CHPFw0rawb/uOUHAKJ85SiLXLjmv 0AO+cnvtC6/EHXuRFw+A+61P2+t8GOcFKQZjPzEBWbTM9Jvs884UTLvq8MAFO6J0rquq mZ1uuLDO9bKY5a2IpbvQWbMf5iM5YWkRqn18Q= 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=ZdjRM1XwQmULX5gFvzGdW8Eg16wK2VHTxnl7dWyk940=; b=meGbnH4RZqED713k1TbEAGxiCQRAEqcP12bwgvVrarhiaqwQjiNiSPPch1QtxSLQpo F48Bdc3w5mSNFh/3wXEKVQTUWqXCdSh8sYUMkZVDx59LkbVsP7+RtRO3d3HlWfFHgtz9 ZPUoi6WEcb9pt4CVF/W88EWBvtllMIm300MCegvJ7CABDcqQOOeUOQmSQkDcLl9WO/Ul 9MDp4wXCWm1QTtGCKq0HYspL1cboDVYpbkde1R8THDpRzNJ0bpHtR+7K+gJS2GpLVEqW eOJABOCxVrO6fXkTxUw06bGp8K20Bam2w/cO1L2UCzHc/xZ+lxkFbdhuyoX5wNvW1b60 w0kQ== X-Gm-Message-State: AOAM531o6qyVQ2OG9EJbjEcQdkHsrzfJgxysJn95m2taa8xSRi5h17jo cwTIGsR8Mbf71alf+7vCAbINMQ== X-Google-Smtp-Source: ABdhPJyPK4K5A0FuGjL43k5ibcO/1QivYgroAEv+i7vDr0jAJ8YmtGBS8UXvLREBZfmwoQCL0w8YRQ== X-Received: by 2002:a0c:eed1:: with SMTP id h17mr5972196qvs.58.1627066384997; Fri, 23 Jul 2021 11:53:04 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5514-7b31-784c-a4c7.res6.spectrum.com. [2603:6081:7b01:cbda:5514:7b31:784c:a4c7]) by smtp.gmail.com with ESMTPSA id q184sm14635151qkd.35.2021.07.23.11.53.04 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jul 2021 11:53:04 -0700 (PDT) Date: Fri, 23 Jul 2021 14:53:02 -0400 From: Tom Rini To: Steffen Jaeckel Cc: u-boot@lists.denx.de, Simon Glass , Heiko Schocher Subject: Re: [PATCH v5 2/8] lib: wrap crypt API to hide errno usage Message-ID: <20210723185302.GD9379@bill-the-cat> References: <20210708135740.3078100-1-jaeckel-floss@eyet-services.de> <20210708135740.3078100-3-jaeckel-floss@eyet-services.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4dPuo10YNMwpRGtG" Content-Disposition: inline In-Reply-To: <20210708135740.3078100-3-jaeckel-floss@eyet-services.de> 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 --4dPuo10YNMwpRGtG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2021 at 03:57:34PM +0200, Steffen Jaeckel wrote: > In order to prevent using the global errno, replace it with a static > version and create a wrapper function which returns the error value. >=20 > Signed-off-by: Steffen Jaeckel > Reviewed-by: Simon Glass > Reviewed-by: Heiko Schocher Applied to u-boot/master, thanks! --=20 Tom --4dPuo10YNMwpRGtG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmD7EA4ACgkQFHw5/5Y0 tywWSQv+OkjX7oQhKAc+oiofipnO4G7ApTKwUj7cyuhaJ2MJ5VJzEgRYcATz4xoB ucNLR5lOIMe1n8jPPoNhYCB2mh+77ALmQ/V5CzWqDE21dnFuCASmwIv76woueyGu N5LzCpNK2Q8WRlxpeYc6XfjcrvLYwicKvKfmNLmfeNcd/k4eGGVfXDDUEvMH3SYd 5Aew51rLN5Vhfzd5nLbBBYX1mcT5qHE18Pb1o8oCAn18a1/lgUuBvx/nL8bKReK6 SuQiJPB3bgYZbiOr7v6FCV9v9cM95MGAak1I97AVXnWbaqLol8L0WBkuSB8fsZnm wVA9k9lqL2KS02N1VvaJnUpZo5+fAvwOSt6AszOrd9WQ72CpYI3K1sRuN19dynEW ggzCo5Wnd2rVvmAl9BVrKhks0/OgDzOaLPmCHBrqGIzGbFNCxXgcTC9pRYxqB0ll oLJp+58juhLwP7+9UUAiockMdFeoFdt9RbOzbRjjTAFzUWtaFfRRybNYjL5jMf35 9IcmYpin =a+Df -----END PGP SIGNATURE----- --4dPuo10YNMwpRGtG--