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

From: Andy Shevchenko <[email-masked]>
Date: Fri, 23 Jan 2026 23:56:04 +0200

On Fri, Jan 23, 2026 at 09:48:19PM +0000, Mark Brown wrote:
> Hi all,
> 
> After merging the random tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> In file included from /tmp/next/build/include/linux/smp.h:119,
>                  from /tmp/next/build/include/linux/lockdep.h:14,
>                  from /tmp/next/build/include/linux/spinlock.h:63,
>                  from /tmp/next/build/include/linux/sched.h:37,
>                  from /tmp/next/build/arch/arm/kernel/asm-offsets.c:13:
> /tmp/next/build/arch/arm/include/asm/smp.h:73:43: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
>    73 | extern int register_ipi_completion(struct completion *completion, int cpu);
>       |                                           ^~~~~~~~~~

Thank you for the report.

> Caused by commit
> 
>    cb2d25278d5ff (random: don't use "proxy" headers)
> 
> I have used the tree from 20260122 instead.

Wouldn't adding

struct completion;

at the top of arch/arm/include/asm/smp.h fix this?

-- 
With Best Regards,
Andy Shevchenko