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

From: Paul Moore
Date: Mon Feb 10 2025 - 09:52:26 EST


On Sun, Feb 9, 2025 at 10:53 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> On Sun, 9 Feb 2025 22:44:42 -0500 Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> >
> > On Sun, Feb 9, 2025 at 8:18 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> > >
> > > After merging the security tree, today's linux-next build (arm
> > > multi_v7_defconfig) failed like this:
> > >
> > > In file included from include/linux/perf_event.h:62,
> > > from arch/arm/vfp/vfpmodule.c:21:
> > > include/linux/security.h:2379:12: warning: no previous prototype for 'security_uring_allowed' [-Wmissing-prototypes]
> > > 2379 | extern int security_uring_allowed(void)
> > > | ^~~~~~~~~~~~~~~~~~~~~~
> >
> > Thanks Stephen, I just pushed a fix to the LSM tree, it should be
> > fixed on your next pull.
> >
> > https://lore.kernel.org/linux-security-module/20250210034132.8448-2-paul@xxxxxxxxxxxxxx/
>
> Shouldn't it be "static inline" instead of "extern inline"?

Yes it should :) Evidently I was fixated on the missing "inline" and
trying to fix it before bed that I missed the "extern" staring me
right in the face.

This will be fixed shortly.

--
paul-moore.com