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

From: Ingo Molnar

Date: Wed Nov 25 2026 - 05:05:31 EST



* Mark Brown <broonie@xxxxxxxxxx> wrote:

> 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.

Sasha's fix looks good to me.

Technically this is not a 'build failure after the merge of the
tip tree', but a 'manual merge of the tip tree with the pm tree',
with the semantic conflict that went unnoticed, right?

Thanks,

Ingo