Re: [PATCH] genksyms: Ignore module scoped _Static_assert()
From: Marco Elver
Date: Thu Dec 10 2020 - 11:27:14 EST
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.
:-)
Thanks,
-- Marco