Re: [PATCH] genksyms: Ignore module scoped _Static_assert()

From: Masahiro Yamada
Date: Sat Dec 19 2020 - 07:43:30 EST


On Fri, Dec 11, 2020 at 2:24 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 10 Dec 2020 17:25:30 +0100 Marco Elver <elver@xxxxxxxxxx> wrote:
>
> > On Thu, 10 Dec 2020 at 14:29, Miguel Ojeda
> > <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
> > > On Thu, Dec 10, 2020 at 11:35 AM Marco Elver <elver@xxxxxxxxxx> wrote:
> > > >
> > > > It looks like there's no clear MAINTAINER for this. :-/
> > > > It'd still be good to fix this for 5.11.
> > >
> > > Richard seems to be the author, not sure if he picks patches (CC'd).
> > >
> > > I guess Masahiro or akpm (Cc'd) would be two options; otherwise, I
> > > could pick it up through compiler attributes (stretching the
> > > definition...).
> >
> > Thanks for the info. I did find that there's an alternative patch to
> > fix _Static_assert() with genksyms that was sent 3 days after mine
> > (it's simpler, but might miss cases). I've responded there (
> > https://lkml.kernel.org/r/X9JI5KpWoo23wkRg@xxxxxxxxxxxxxxxx ).
> >
> > Now we have some choice. I'd argue for this patch, because it's not
> > doing preprocessor workarounds, but in the end I won't make that call.
> > :-)
>
> I have
> https://lkml.kernel.org/r/20201203230955.1482058-1-arnd@xxxxxxxxxx
> queued for later this week.
>


Sorry for the delay, Marco.

And, thanks for the proper fix.
Now applied to linux-kbuild.



I will revert
14dc3983b5dff513a90bd5a8cc90acaf7867c3d0
later.





--
Best Regards
Masahiro Yamada