Skip to contentSkip to conversation

linux-next: build failure in final build

DISCUSSION Mark Brown 2 participants 3 messages Mar 27 – Mar 28 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the kthread tree, today's linux-next build (i386 defconfig) failed like this:

/tmp/next/build/kernel/trace/trace.c:820:5: error: no previous prototype for 'tracing_alloc_snapshot' [-Werror=missing-prototypes]
820 | int tracing_alloc_snapshot(void)

      |     ^~~~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Caused by commit

bade44fe546212 (tracing: Move snapshot code out of trace.c and into trace_snapshot.c)

I've left this for today.

author maintainer
#1 lore raw
Quoted 4 lines · Mark Brown

Hi all,

After merging the kthread tree, today's linux-next build (i386 defconfig) failed like this:

Sorry, didn't finish updating the template before I gut send - the kthread tree is fine.

#2 lore raw
In reply to Mark Brown
Quoted 7 lines · On Fri, 27 Mar 2026 22:03:39 +0000 Mark Brown <[email protected]> wrote:

Hi all,

In the final build, today's linux-next build (i386 defconfig) failed like this:

/tmp/next/build/kernel/trace/trace.c:820:5: error: no previous prototype for 'tracing_alloc_snapshot' [-Werror=missing-prototypes]
820 | int tracing_alloc_snapshot(void)

Quoted 8 lines
      |     ^~~~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors

Caused by commit

bade44fe546212 (tracing: Move snapshot code out of trace.c and into trace_snapshot.c)

I've left this for today.

Thanks, I'll take a look.

-- Steve