All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
@ 2021-10-11 15:29 Vegard Nossum
  2021-10-11 15:37 ` Greg Kroah-Hartman
  2021-10-13 12:26 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 7+ messages in thread
From: Vegard Nossum @ 2021-10-11 15:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Arnd Bergmann, linux-staging, linux-kernel, Vegard Nossum

Fix the following build/link errors:

  ld: drivers/staging/ks7010/ks_hostif.o: in function `michael_mic.constprop.0':
  ks_hostif.c:(.text+0x95b): undefined reference to `crypto_alloc_shash'
  ld: ks_hostif.c:(.text+0x97a): undefined reference to `crypto_shash_setkey'
  ld: ks_hostif.c:(.text+0xa13): undefined reference to `crypto_shash_update'
  ld: ks_hostif.c:(.text+0xa28): undefined reference to `crypto_shash_update'
  ld: ks_hostif.c:(.text+0xa48): undefined reference to `crypto_shash_finup'
  ld: ks_hostif.c:(.text+0xa6d): undefined reference to `crypto_destroy_tfm'

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
 drivers/staging/ks7010/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/staging/ks7010/Kconfig b/drivers/staging/ks7010/Kconfig
index 0987fdc2f70db..8ea6c09286798 100644
--- a/drivers/staging/ks7010/Kconfig
+++ b/drivers/staging/ks7010/Kconfig
@@ -5,6 +5,9 @@ config KS7010
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select FW_LOADER
+	select CRYPTO
+	select CRYPTO_HASH
+	select CRYPTO_MICHAEL_MIC
 	help
 	  This is a driver for KeyStream KS7010 based SDIO WIFI cards. It is
 	  found on at least later Spectec SDW-821 (FCC-ID "S2Y-WLAN-11G-K" only,
-- 
2.23.0.718.g5ad94255a8


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-13 13:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 15:29 [PATCH] staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC Vegard Nossum
2021-10-11 15:37 ` Greg Kroah-Hartman
2021-10-11 16:55   ` Vegard Nossum
2021-10-13 12:26 ` Greg Kroah-Hartman
2021-10-13 12:51   ` Vegard Nossum
2021-10-13 13:03     ` Arnd Bergmann
2021-10-13 13:11       ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.