linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* EDAC, skx_edac: Express dependency to NFIT
@ 2018-05-14  8:14 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2018-05-14  8:14 UTC (permalink / raw)
  To: linux-edac; +Cc: Tony Luck, Borislav Petkov, Mauro Carvalho Chehab

If ACPI_NFIT is enabled, we must depend on it, otherwise if skx_edac
is built into the kernel, it may try to use nfit_get_smbios_id from
modular nfit and linking will break.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 58ca9ac1463d ("EDAC, skx_edac: Detect non-volatile DIMMs")
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 drivers/edac/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.17-rc4.orig/drivers/edac/Kconfig	2018-04-23 04:20:09.000000000 +0200
+++ linux-4.17-rc4/drivers/edac/Kconfig	2018-05-14 10:03:25.634772874 +0200
@@ -232,6 +232,7 @@ config EDAC_SBRIDGE
 config EDAC_SKX
 	tristate "Intel Skylake server Integrated MC"
 	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
+	depends on ACPI_NFIT=n || ACPI_NFIT
 	select DMI
 	help
 	  Support for error detection and correction the Intel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-14  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14  8:14 EDAC, skx_edac: Express dependency to NFIT Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).