linux-next: build failure after merge of the perf tree
Hi all,
After merging the perf tree, today's linux-next build (native powerpc perf) failed like this:
arch/powerpc/tests/dwarf-unwind.c: In function 'test__arch_unwind_sample':arch/powerpc/tests/dwarf-unwind.c:48:34: error: initialization of 'struct regs_dump *' from incompatible pointer type 'struct regs_dump **' [-Wincompatible-pointer-types]
48 | struct regs_dump *regs = &sample->user_regs;
| ^arch/powerpc/util/unwind-libdw.c: In function 'libdw__arch_set_initial_registers':arch/powerpc/util/unwind-libdw.c:19:39: error: initialization of 'struct regs_dump *' from incompatible pointer type 'struct regs_dump **' [-Wincompatible-pointer-types]
19 | struct regs_dump *user_regs = &ui->sample->user_regs;
| ^
Caused by commit
dc6d2bc2d893 ("perf sample: Make user_regs and intr_regs optional")
I have used the perf tree from next-20250213 for today.
Signature · 2 lines
Cheers, Stephen Rothwell