Patchwork EDAC, i10nm: Fix randconfig builds

login
register
mail settings
Submitter Luck, Tony
Date Feb. 5, 2019, 6:02 p.m.
Message ID <20190205180200.26865-1-tony.luck@intel.com>
Download mbox | patch
Permalink /patch/718659/
State New
Headers show

Comments

Luck, Tony - Feb. 5, 2019, 6:02 p.m.
I10NM_EDAC depends on CONFIG_ACPI

Signed-off-by: Tony Luck <tony.luck@intel.com>

---
[We missed matching this change we made to the SKX_EDAC dependency :-( ]

 drivers/edac/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Borislav Petkov - Feb. 6, 2019, 9:50 a.m.
On Tue, Feb 05, 2019 at 10:02:00AM -0800, Tony Luck wrote:
> I10NM_EDAC depends on CONFIG_ACPI
> 
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> 
> ---
> [We missed matching this change we made to the SKX_EDAC dependency :-( ]
> 
>  drivers/edac/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
> index 0825c9c26d2b..102a47a09f25 100644
> --- a/drivers/edac/Kconfig
> +++ b/drivers/edac/Kconfig
> @@ -243,10 +243,10 @@ config EDAC_SKX
>  
>  config EDAC_I10NM
>  	tristate "Intel 10nm server Integrated MC"
> -	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
> +	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
>  	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
>  	select DMI
> -	select ACPI_ADXL if ACPI
> +	select ACPI_ADXL
>  	help
>  	  Support for error detection and correction the Intel
>  	  10nm server Integrated Memory Controllers. If your
> -- 

Applied, thanks.

Patch

diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 0825c9c26d2b..102a47a09f25 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -243,10 +243,10 @@  config EDAC_SKX
 
 config EDAC_I10NM
 	tristate "Intel 10nm server Integrated MC"
-	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
+	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG && ACPI
 	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_I10NM can't be y
 	select DMI
-	select ACPI_ADXL if ACPI
+	select ACPI_ADXL
 	help
 	  Support for error detection and correction the Intel
 	  10nm server Integrated Memory Controllers. If your