lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707260336280.3877@cselinux1.cse.iitk.ac.in>
Date:	Thu, 26 Jul 2007 03:39:31 +0530 (IST)
From:	Satyam Sharma <ssatyam@....iitk.ac.in>
To:	akpm@...ux-foundation.org
cc:	shannon.nelson@...el.com, linux-kernel@...r.kernel.org
Subject: [PATCH -mm] dma: INTEL_IOATDMA build fix

Make CONFIG_INTEL_IOATDMA select CONFIG_DCA because it uses code
exported from said dependency:

# CONFIG_DCA is not set
CONFIG_INTEL_IOATDMA=m

ERROR: "alloc_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "register_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "unregister_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "free_dca_provider" [drivers/dma/ioatdma.ko] undefined!
make[1]: *** [__modpost] Error 1

"select" seems ok because CONFIG_DCA looks library-like and doesn't itself
depend upon anything else.

Signed-off-by: Satyam Sharma <ssatyam@....iitk.ac.in>

---

 drivers/dma/Kconfig |    1 +
 1 files changed, 1 insertion(+)

diff -ruNp a/drivers/dma/Kconfig b/drivers/dma/Kconfig
--- a/drivers/dma/Kconfig	2007-07-26 03:31:47.000000000 +0530
+++ b/drivers/dma/Kconfig	2007-07-26 03:32:14.000000000 +0530
@@ -28,6 +28,7 @@ comment "DMA Devices"
 config INTEL_IOATDMA
 	tristate "Intel I/OAT DMA support"
 	depends on DMA_ENGINE && PCI
+	select DCA
 	default m
 	---help---
 	  Enable support for the Intel(R) I/OAT DMA engine.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ