Skip to contentSkip to conversation

thermal: intel: INTEL_HFI_THERMAL depends on NET

PATCH In review Randy Dunlap 2 participants 2 messages Feb 9, 2022 Thermal

lore
Share & tools
lore
#0 lore raw

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]

Fixes bd30cdfd9bd7 ("thermal: intel: hfi: Notify user space for HFI events")
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]>

---
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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Randy Dunlap

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]

Thanks for the fix.

Quoted 12 lines
Fixes bd30cdfd9bd7 ("thermal: intel: hfi: Notify user space for HFI

events")

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


 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