linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Corentin Labbe <clabbe@baylibre.com>
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
Date: Fri, 28 May 2021 15:05:11 +0800	[thread overview]
Message-ID: <20210528070511.GA22601@gondor.apana.org.au> (raw)
In-Reply-To: <20210518151655.125153-3-clabbe@baylibre.com>

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 <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-05-28  7:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 15:16 [PATCH 0/5] crypto: add gemini/sl3516 crypto driver Corentin Labbe
2021-05-18 15:16 ` [PATCH 1/5] db-dinding: crypto: Add DT bindings documentation for sl3516-ce Corentin Labbe
2021-05-18 21:38   ` Linus Walleij
2021-05-20  0:04     ` Rob Herring
2021-05-18 15:16 ` [PATCH 2/5] crypto: Add sl3516 crypto engine Corentin Labbe
2021-05-18 21:42   ` Linus Walleij
2021-05-28  7:05   ` Herbert Xu [this message]
2021-05-18 15:16 ` [PATCH 3/5] ARM: dts: gemini: add crypto node Corentin Labbe
2021-05-18 21:43   ` Linus Walleij
2021-05-18 15:16 ` [PATCH 4/5] ARM: gemini_config: enable sl3516-ce crypto Corentin Labbe
2021-05-18 21:44   ` Linus Walleij
2021-05-18 15:16 ` [PATCH 5/5] MAINTAINERS: add gemini crypto sl3516-ce Corentin Labbe
2021-05-18 21:45   ` Linus Walleij
2021-05-19 18:39 ` [PATCH 0/5] crypto: add gemini/sl3516 crypto driver Eric Biggers
2021-05-20 11:39   ` LABBE Corentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210528070511.GA22601@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=clabbe@baylibre.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=robh+dt@kernel.org \
    --cc=ulli.kroll@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).