[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200403044137.GA26315@gondor.apana.org.au>
Date: Fri, 3 Apr 2020 15:41:37 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: YueHaibing <yuehaibing@...wei.com>
Cc: davem@...emloft.net, wangzhou1@...ilicon.com,
Jonathan.Cameron@...wei.com, xuzaibo@...wei.com,
shiju.jose@...wei.com, ebiggers@...gle.com, yaohongbo@...wei.com,
maowenan@...wei.com, arnd@...db.de, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] crypto: hisilicon - Fix build error
On Mon, Mar 30, 2020 at 04:36:43PM +0800, YueHaibing wrote:
> When UACCE is m, CRYPTO_DEV_HISI_QM cannot be built-in.
> But CRYPTO_DEV_HISI_QM is selected by CRYPTO_DEV_HISI_SEC2
> and CRYPTO_DEV_HISI_HPRE unconditionally, which may leads this:
>
> drivers/crypto/hisilicon/qm.o: In function 'qm_alloc_uacce':
> drivers/crypto/hisilicon/qm.c:1579: undefined reference to 'uacce_alloc'
>
> Add Kconfig dependency to enforce usable configurations.
>
> Fixes: 47c16b449921 ("crypto: hisilicon - qm depends on UACCE")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/crypto/hisilicon/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
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