linux-next: build failure after merge of the ftrace tree

From: Stephen Rothwell
Date: Sun Oct 22 2023 - 22:30:40 EST


Hi all,

After merging the ftrace tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

arch/powerpc/kernel/setup-common.c:604:10: error: 'struct seq_buf' has no member named 'readpos'
604 | .readpos = 0,
| ^~~~~~~
arch/powerpc/kernel/setup-common.c:604:20: error: excess elements in struct initializer [-Werror]
604 | .readpos = 0,
| ^
arch/powerpc/kernel/setup-common.c:604:20: note: (near initialization for 'ppc_hw_desc')
cc1: all warnings being treated as errors

Caused by commit

d0ed46b60396 ("tracing: Move readpos from seq_buf to trace_seq")

I have used the ftrace tree from next-20231020 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgp7HvThlPB0w.pgp
Description: OpenPGP digital signature