mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: intel-mid: fix possible warning when selecting X86_INTEL_MID
       [not found] <52de5cc8.5oL87RQWKI3CsbWx%fengguang.wu@intel.com>
@ 2014-01-21 18:41 ` David Cohen
  2014-01-25 14:25   ` [tip:x86/urgent] x86/intel/mid: Fix X86_INTEL_MID dependencies tip-bot for David Cohen
  0 siblings, 1 reply; 2+ messages in thread
From: David Cohen @ 2014-01-21 18:41 UTC (permalink / raw)
  To: hpa, mingo, tglx, x86; +Cc: linux-kernel, David Cohen

This patch fixes the following warning:

warning: (X86_INTEL_MID) selects INTEL_SCU_IPC which has unmet direct
dependencies (X86 && X86_PLATFORM_DEVICES && X86_INTEL_MID)

It happens because when selected, X86_INTEL_MID tries to select
INTEL_SCU_IPC regardless all its dependencies are met or not. This patch
fixes it by adding the missing X86_PLATFORM_DEVICES dependency to
X86_INTEL_MID.

Found-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index edcf80eda566..2e446035fe92 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -442,6 +442,7 @@ config X86_INTEL_MID
 	bool "Intel MID platform support"
 	depends on X86_32
 	depends on X86_EXTENDED_PLATFORM
+	depends on X86_PLATFORM_DEVICES
 	depends on PCI
 	depends on PCI_GOANY
 	depends on X86_IO_APIC
-- 
1.8.4.2


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

* [tip:x86/urgent] x86/intel/mid: Fix X86_INTEL_MID dependencies
  2014-01-21 18:41 ` [PATCH] x86: intel-mid: fix possible warning when selecting X86_INTEL_MID David Cohen
@ 2014-01-25 14:25   ` tip-bot for David Cohen
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for David Cohen @ 2014-01-25 14:25 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, david.a.cohen, tglx, fengguang.wu

Commit-ID:  edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Gitweb:     http://git.kernel.org/tip/edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Author:     David Cohen <david.a.cohen@linux.intel.com>
AuthorDate: Tue, 21 Jan 2014 10:41:39 -0800
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Sat, 25 Jan 2014 09:17:32 +0100

x86/intel/mid: Fix X86_INTEL_MID dependencies

This patch fixes the following warning:

  warning: (X86_INTEL_MID) selects INTEL_SCU_IPC which has unmet direct dependencies (X86 && X86_PLATFORM_DEVICES && X86_INTEL_MID)

It happens because when selected, X86_INTEL_MID tries to select
INTEL_SCU_IPC regardless all its dependencies are met or not.

This patch fixes it by adding the missing X86_PLATFORM_DEVICES
dependency to X86_INTEL_MID.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1390329699-20782-1-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cb9af47..3b6922e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -443,6 +443,7 @@ config X86_INTEL_MID
 	bool "Intel MID platform support"
 	depends on X86_32
 	depends on X86_EXTENDED_PLATFORM
+	depends on X86_PLATFORM_DEVICES
 	depends on PCI
 	depends on PCI_GOANY
 	depends on X86_IO_APIC

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

end of thread, other threads:[~2014-01-25 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <52de5cc8.5oL87RQWKI3CsbWx%fengguang.wu@intel.com>
2014-01-21 18:41 ` [PATCH] x86: intel-mid: fix possible warning when selecting X86_INTEL_MID David Cohen
2014-01-25 14:25   ` [tip:x86/urgent] x86/intel/mid: Fix X86_INTEL_MID dependencies tip-bot for David Cohen

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

Powered by JetHome