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

From: Steven Rostedt
Date: Wed Oct 25 2023 - 21:21:35 EST


On Thu, 26 Oct 2023 12:18:16 +1100
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> Hi all,
>
> On Mon, 23 Oct 2023 13:30:33 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > 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.
>
> This is still failing ...
>

Ah, I never pushed it up from trace/for-next to for-next. Thanks for the reminder.

I'll do that now.

-- Steve