[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9wZm388iYM0Cnrd@linux.dev>
Date: Thu, 20 Mar 2025 06:35:23 -0700
From: Oliver Upton <oliver.upton@...ux.dev>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Christoffer Dall <cdall@...columbia.edu>, Marc Zyngier <maz@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the kvm-arm tree
Hi,
On Thu, Mar 20, 2025 at 08:32:03PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the kvm-arm tree, today's linux-next build (arm64 defconfig)
> failed like this:
>
> arch/arm64/kernel/cpu_errata.c: In function 'has_impdef_pmuv3':
> arch/arm64/kernel/cpu_errata.c:279:38: error: passing argument 1 of 'is_midr_in_range_list' makes pointer from integer without a cast [-Wint-conversion]
> 279 | return is_midr_in_range_list(read_cpuid_id(), impdef_pmuv3_cpus);
> | ^~~~~~~~~~~~~~~
> | |
> | u32 {aka unsigned int}
> arch/arm64/kernel/cpu_errata.c:47:53: note: expected 'const struct midr_range *' but argument is of type 'u32' {aka 'unsigned int'}
> 47 | bool is_midr_in_range_list(struct midr_range const *ranges)
> | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> arch/arm64/kernel/cpu_errata.c:279:16: error: too many arguments to function 'is_midr_in_range_list'
> 279 | return is_midr_in_range_list(read_cpuid_id(), impdef_pmuv3_cpus);
> | ^~~~~~~~~~~~~~~~~~~~~
> arch/arm64/kernel/cpu_errata.c:47:6: note: declared here
> 47 | bool is_midr_in_range_list(struct midr_range const *ranges)
> | ^~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 1f561ad4b8f5 ("Merge branch 'kvm-arm64/pv-cpuid' into new-next")
>
> The merge missed fixing up this instance from commit
>
> e1231aacb065 ("arm64: Enable IMP DEF PMUv3 traps on Apple M*")
>
> I have applied the following patch for today (but this should go into
> the kvm-arm tree (perhaps squashed into the above merge).
Thanks Stephen for the fix. Looks like I forgot to push /next when I
pushed out the tag, addressing now.
Thanks,
Oliver
Powered by blists - more mailing lists