linux-next: build failure after merge of the tip tree

From: Mark Brown

Date: Tue Nov 24 2026 - 12:19:55 EST


Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

/tmp/next/build/drivers/thermal/intel/intel_hfi.c:407:38: error: too many arguments to function call, expected single argument 'msr', have 2 arguments
407 | rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val);
| ~~~~~~ ^~~~~~~
/tmp/next/build/arch/x86/include/asm/paravirt.h:153:28: note: 'rdmsrq' declared here
153 | static __always_inline u64 rdmsrq(u32 msr)
| ^ ~~~~~~~

Caused by commit

437ce3015e51c (thermal: intel: hfi: Disable HFI on shutdown and kexec)

from the pm tree interacting with

e7f9f17e00130 (treewide: Convert rdmsrq() from a macro to an inline function)

I have applied Sasha's fix below.

From eed7d9a619595e153de4f0faca0ff0186b8a4c1b Mon Sep 17 00:00:00 2001
From: Sasha Levin <sashal@xxxxxxxxxx>
Date: Tue, 24 Nov 2026 09:56:46 -0500
Subject: [PATCH] linux-next: semantic conflict between the pm and tip trees

Hi Mark,

The current pm tree has a semantic conflict with the tip tree that
breaks the x86 build:

drivers/thermal/intel/intel_hfi.c:407:38: error: too many arguments to function call, expected single argument 'msr', have 2 arguments

437ce3015e51 ("thermal: intel: hfi: Disable HFI on shutdown and kexec")
in the pm tree uses rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val), and
e7f9f17e0013 ("treewide: Convert rdmsrq() from a macro to an inline
function") in the tip tree makes rdmsrq() take only the MSR and return
the value.

The fix for the merge:
---
drivers/thermal/intel/intel_hfi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/intel/intel_hfi.c b/drivers/thermal/intel/intel_hfi.c
index e7657d2c4298f..b70f6f7263c5d 100644
--- a/drivers/thermal/intel/intel_hfi.c
+++ b/drivers/thermal/intel/intel_hfi.c
@@ -404,7 +404,7 @@ static bool hfi_disable_if_enabled(void)
{
u64 msr_val;

- rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val);
+ msr_val = rdmsrq(MSR_IA32_HW_FEEDBACK_CONFIG);
if (!(msr_val & HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT))
return false;

--
2.47.3

Attachment: signature.asc
Description: PGP signature