[OS-BUILD PATCH] drivers/crypto: make PAES_S390 select CRYPTO_ENGINE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jan Stancek <jstancek@xxxxxxxxxx>

drivers/crypto: make PAES_S390 select CRYPTO_ENGINE

To avoid running into following build failure on s390x:
  00:13:40 ERROR: modpost: "crypto_engine_stop" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_exit" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_alloc_init_and_set" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_start" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_engine_register_skcipher" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_finalize_skcipher_request" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 ERROR: modpost: "crypto_transfer_skcipher_request_to_engine" [arch/s390/crypto/paes_s390.ko] undefined!
  00:13:40 make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1

Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx>

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index blahblah..blahblah 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -180,6 +180,7 @@ config CRYPTO_PAES_S390
 	depends on PKEY
 	select CRYPTO_ALGAPI
 	select CRYPTO_SKCIPHER
+	select CRYPTO_ENGINE
 	help
 	  This is the s390 hardware accelerated implementation of the
 	  AES cipher algorithms for use with protected key.

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3916

-- 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux