thermal: intel: INTEL_HFI_THERMAL depends on NET
PATCH 1/1 thermal: intel: INTEL_HFI_THERMAL depends on NET
THERMAL_NETLINK depends on NET and since 'select' does not follow any dependency chain, INTEL_HFI_THERMAL also should depend on NET.
Fix one Kconfig warning and 48 subsequent build errors:
WARNING: unmet direct dependencies detected for THERMAL_NETLINK
Depends on [n]: THERMAL [=y] && NET [=n]
Selected by [y]:
- INTEL_HFI_THERMAL [=y] && THERMAL [=y] && (X86 [=y] || X86_INTEL_QUARK [=n] || COMPILE_TEST [=y]) && CPU_SUP_INTEL [=y] && X86_THERMAL_VECTOR [=y]
---
Found in mmotm, linux-next.patch.
drivers/thermal/intel/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/thermal/intel/Kconfig +1 -0
@@ -102,6 +102,7 @@ config INTEL_MENLOW config INTEL_HFI_THERMAL bool "Intel Hardware Feedback Interface" + depends on NET depends on CPU_SUP_INTEL depends on X86_THERMAL_VECTOR select THERMAL_NETLINK
Quoted 12 lines · Randy Dunlap
THERMAL_NETLINKdepends on NET and since 'select' does not follow any dependency chain,INTEL_HFI_THERMALalso should depend on NET.Fix one
Kconfigwarning and 48 subsequent build errors:WARNING: unmet direct dependencies detected for
THERMAL_NETLINKDepends on [n]: THERMAL [=y] && NET [=n]
Selected by [y]:
-INTEL_HFI_THERMAL[=y] && THERMAL [=y] && (X86 [=y] ||X86_INTEL_QUARK[=n] ||COMPILE_TEST[=y]) &&CPU_SUP_INTEL[=y] &&X86_THERMAL_VECTOR[=y]
Thanks for the fix.
Quoted 12 lines
Fixes bd30cdfd9bd7 ("thermal: intel: hfi: Notify user space for HFIevents")
Signed-off-by Randy Dunlap <[email protected]>Cc Srinivas Pandruvada <[email protected]>Cc Aubrey Li <[email protected]>Cc Ricardo Neri <[email protected]>Cc Rafael J. Wysocki <[email protected]>Cc Daniel Lezcano <[email protected]>Cc Amit Kucheria <[email protected]>Cc Zhang Rui <[email protected]>Cc Andrew Morton <[email protected]>
Quoted 16 lines
---
Found in mmotm, linux-next.patch.drivers/thermal/intel/Kconfig | 1 +
1 file changed, 1 insertion(+)drivers/thermal/intel/Kconfig +0
-0@@ -102,6 +102,7 @@ config INTEL_MENLOW
configINTEL_HFI_THERMAL
bool "Intel Hardware Feedback Interface"
+ depends on NET
depends onCPU_SUP_INTEL
depends onX86_THERMAL_VECTOR
selectTHERMAL_NETLINK