[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190628041843.are3ywit6pek7upa@gondor.apana.org.au>
Date: Fri, 28 Jun 2019 12:18:43 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: "David S. Miller" <davem@...emloft.net>, horia.geanta@....com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] crypto: talitos - eliminate unneeded 'done' functions at
build time
On Mon, Jun 17, 2019 at 09:14:45PM +0000, Christophe Leroy wrote:
> When building for SEC1 only, talitos2_done functions are unneeded
> and should go away.
>
> For this, use has_ftr_sec1() which will always return true when only
> SEC1 support is being built, allowing GCC to drop TALITOS2 functions.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> Reviewed-by: Horia Geantă <horia.geanta@....com>
> ---
> taken out of the "Additional fixes on Talitos driver" series as it can be applied independently
>
> drivers/crypto/talitos.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists