Re: [PATCH perf] perf: Fix btf_vlen() signedness errors
From: Mark Brown
Date: Mon Jun 22 2026 - 06:54:04 EST
On Mon, Jun 22, 2026 at 11:34:18AM +0100, Alan Maguire wrote:
> Commit f7a6b9eaff3e6 ("bpf: Extend BTF UAPI vlen, kinds to use unused bits")
>
> extended the return value for btf_vlen() to __u32, triggering
> errors for cases where an int was used to store return value.
> Fix these cases for perf as was done for other libbpf consumers.
I already sent:
https://lore.kernel.org/r/20260617130038.34534-1-broonie@xxxxxxxxxx
which I have been using as a fixup since I originally reported the issue
since Linus' tree is broken, Arnaldo said he'd applied it to the
perf-tools-next branch but it has not yet appeared in Linus' tree (and
it looks like he forgot to push it so his copy isn't getting picked up
in the merge either, the last update was on the 15th).
Attachment:
signature.asc
Description: PGP signature