mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] habanalabs: select CRC32
@ 2021-10-11 15:14 Vegard Nossum
  2021-10-11 15:33 ` Arnd Bergmann
  0 siblings, 1 reply; 10+ messages in thread
From: Vegard Nossum @ 2021-10-11 15:14 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: Arnd Bergmann, linux-kernel, Vegard Nossum

Fix the following build/link error by adding a dependency on the CRC32
routines:

  ld: drivers/misc/habanalabs/common/firmware_if.o: in function `hl_fw_dynamic_request_descriptor':
  firmware_if.c:(.text.unlikely+0xc89): undefined reference to `crc32_le'

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
 drivers/misc/habanalabs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/habanalabs/Kconfig b/drivers/misc/habanalabs/Kconfig
index 293d79811372c..0068ff9a34abb 100644
--- a/drivers/misc/habanalabs/Kconfig
+++ b/drivers/misc/habanalabs/Kconfig
@@ -8,6 +8,7 @@ config HABANA_AI
 	depends on PCI && HAS_IOMEM
 	select GENERIC_ALLOCATOR
 	select HWMON
+	select CRC32
 	help
 	  Enables PCIe card driver for Habana's AI Processors (AIP) that are
 	  designed to accelerate Deep Learning inference and training workloads.
-- 
2.23.0.718.g5ad94255a8


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

end of thread, other threads:[~2021-10-12 20:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 15:14 [PATCH] habanalabs: select CRC32 Vegard Nossum
2021-10-11 15:33 ` Arnd Bergmann
2021-10-11 16:29   ` Vegard Nossum
2021-10-11 19:37     ` Arnd Bergmann
2021-10-12  5:54       ` Vegard Nossum
2021-10-12  6:44         ` Arnd Bergmann
2021-10-12 20:10           ` Randy Dunlap
2021-10-12 20:42             ` Arnd Bergmann
2021-10-12 20:45               ` Randy Dunlap
2021-10-12  8:45   ` Oded Gabbay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®