2020-04-17 07:10:47

by Shukun Tan

[permalink] [raw]
Subject: [PATCH] crypto: hisilicon - fix Kbuild warning

Add Kconfig dependency to fix kbuild warnings.

Fixes: 6c6dd580 ("crypto: hisilicon/qm - add controller reset interface")
Reported-by: kbuild test robot <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Shukun Tan <[email protected]>
---
drivers/crypto/hisilicon/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index f09c6cf..99e962e 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -42,6 +42,7 @@ config CRYPTO_DEV_HISI_QM
depends on ARM64 || COMPILE_TEST
depends on PCI && PCI_MSI
depends on UACCE || UACCE=n
+ depends on ACPI
help
HiSilicon accelerator engines use a common queue management
interface. Specific engine driver may use this module.
--
2.7.4


2020-04-20 08:23:43

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: hisilicon - fix Kbuild warning

On Fri, Apr 17, 2020 at 03:08:31PM +0800, Shukun Tan wrote:
> Add Kconfig dependency to fix kbuild warnings.
>
> Fixes: 6c6dd580 ("crypto: hisilicon/qm - add controller reset interface")
> Reported-by: kbuild test robot <[email protected]>
> Reported-by: Stephen Rothwell <[email protected]>
> Signed-off-by: Shukun Tan <[email protected]>
> ---
> drivers/crypto/hisilicon/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt