]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig
authorZhou Wang <wangzhou1@hisilicon.com>
Fri, 11 Oct 2019 11:18:10 +0000 (19:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2020 18:48:45 +0000 (19:48 +0100)
commit b981744ef04f7e8cb6931edab50021fff3c8077e upstream.

To avoid compile error in some platforms, select NEED_SG_DMA_LENGTH in
qm Kconfig.

Fixes: dfed0098ab91 ("crypto: hisilicon - add hardware SGL support")
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/hisilicon/Kconfig

index ebaf91e0146d17058e2ae8d344fdfda03044880b..504daff7687de46ce38bf02b5a3732e59ac6ee12 100644 (file)
@@ -17,6 +17,7 @@ config CRYPTO_DEV_HISI_SEC
 config CRYPTO_DEV_HISI_QM
        tristate
        depends on ARM64 && PCI && PCI_MSI
+       select NEED_SG_DMA_LENGTH
        help
          HiSilicon accelerator engines use a common queue management
          interface. Specific engine driver may use this module.