Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp164990pxj; Fri, 28 May 2021 00:36:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHG6a1Xhe8QwnUlpV5pXZRuAG1/SoMWPWX2vods5Pxu6JdGqa0TpRnE5TIskwmbu5iOyeU X-Received: by 2002:aa7:da0e:: with SMTP id r14mr8365480eds.119.1622187393968; Fri, 28 May 2021 00:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622187393; cv=none; d=google.com; s=arc-20160816; b=pBvCetuO30jarlEa2c0043hBs1hh8go8NPOaXaAglxZrfQjC8EKZ39wK5sm5xErQ9+ TovyBsn9iSxBjck2nMqEBJcmfOThlVmtWLGpQIhZEoxb6TXAoCloi/PR1XdfFzRsDzJr /DSHShNn58n75aLelH23a4dEdbMGpYdW3nWXsSQKK61VYkVE4Uhb/wjB6JXE7ESvVS0V E2+Cuk9bwb4kj6NBqxKNnlXIXbMVqz8Oqn18R8orwwTb792ZRPIU5PVQU428btc7hbV9 AE6ka0gVjDGC5W1qudEaXk8JBD2jyn52fNzMF9TdwMZgOGDJz2TAdJbIRBFbZ3BLho4p 4qCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=zSIqZlErCwR9kYLe21cE1CTwUuR9z05w8CV1DeaBXhI=; b=qAikqMecYtAOjW0CencoICLzarSNaCksb+qw/Y6y9/ne/U2t8Vx68bqnrerHf7oBk4 3i5QctKDX+AaGvR9CacIoKhBTQlexPaZv+LpSylO9Z77KZ0Z1qJEXDhhsVM3psnCn8jf DNloEhLB9CY7QJBB1K4x47LDqFAWv2liIk5hCKWlGwzvKyNFQMdiV1oGerlx9BHAmI6U TneItQeSXLgKj7NANw67XuR/OinUP2hOSik3mFAo3Uv9sae2J0pDmuNMxOV/GS22dqkD ct5B5epqIcxEGRDcAgtOHp/7wtzkb0cO2pDjpt5bscx8pOGOPfvfcWHoBq5HLvXd+MOW SDSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b27si4265011ejc.676.2021.05.28.00.35.37; Fri, 28 May 2021 00:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234595AbhE1HHK (ORCPT + 99 others); Fri, 28 May 2021 03:07:10 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:49854 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhE1HHK (ORCPT ); Fri, 28 May 2021 03:07:10 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lmWYc-0003HJ-5Y; Fri, 28 May 2021 15:05:22 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lmWYR-0005t1-99; Fri, 28 May 2021 15:05:11 +0800 Date: Fri, 28 May 2021 15:05:11 +0800 From: Herbert Xu To: Corentin Labbe Cc: davem@davemloft.net, linus.walleij@linaro.org, linux@armlinux.org.uk, robh+dt@kernel.org, ulli.kroll@googlemail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] crypto: Add sl3516 crypto engine Message-ID: <20210528070511.GA22601@gondor.apana.org.au> References: <20210518151655.125153-1-clabbe@baylibre.com> <20210518151655.125153-3-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518151655.125153-3-clabbe@baylibre.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 18, 2021 at 03:16:52PM +0000, Corentin Labbe wrote: > > +static int sl3516_ce_cipher_fallback(struct skcipher_request *areq) > +{ > + struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); > + struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); > + struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq); > + struct skcipher_alg *alg = crypto_skcipher_alg(tfm); > + struct sl3516_ce_alg_template *algt; > + int err; > + > + algt = container_of(alg, struct sl3516_ce_alg_template, alg.skcipher); > + algt->stat_fb++; This fails to build if CRYPTO_DEV_SL3516_DEBUG is off. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt