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

From: Peter Zijlstra <[email-masked]>
Date: Wed, 12 Nov 2025 10:39:28 +0100

On Wed, Nov 12, 2025 at 03:42:00PM +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the tip tree, today's linux-next build (i386 defconfig)
> failed like this:
> 
> arch/x86/events/intel/ds.c: In function 'intel_pmu_drain_arch_pebs':
> arch/x86/events/intel/ds.c:2983:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>  2983 |         top = (void *)((u64)cpuc->pebs_vaddr +
>       |                        ^
> arch/x86/events/intel/ds.c:2983:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
>  2983 |         top = (void *)((u64)cpuc->pebs_vaddr +
>       |               ^
> cc1: all warnings being treated as errors
> 
> Caused by commit
> 
>   d21954c8a0ff ("perf/x86/intel: Process arch-PEBS records or record fragments")
> 

It appears you're way faster than the build robots :/

I'll go fix. Thanks!