On Fri, Apr 4, 2025 at 10:11 PM Uros Bizjak <ubiz...@gmail.com> wrote:
>
> On Fri, Apr 4, 2025 at 2:56 PM Masahiro Yamada <masahi...@kernel.org> wrote:
> >
> > On Fri, Apr 4, 2025 at 7:25 PM Uros Bizjak <ubiz...@gmail.com> wrote:
> > >
> > > Current version of genksyms doesn't know anything about 
> > > __typeof_unqual__()
> > > operator.  Avoid the usage of __typeof_unqual__() with genksyms to prevent
> > > errors when symbols are versioned.
> > >
> > > There were no problems with gendwarfksyms.
> > >
> > > Signed-off-by: Uros Bizjak <ubiz...@gmail.com>
> > > Fixes: ac053946f5c40 ("compiler.h: introduce TYPEOF_UNQUAL() macro")
> > > Reported-by: Paul Menzel <pmen...@molgen.mpg.de>
> > > Closes: 
> > > https://lore.kernel.org/lkml/81a25a60-de78-43fb-b56a-131151e1c...@molgen.mpg.de/
> > > Cc: Sami Tolvanen <samitolva...@google.com>
> > > Cc: Andrew Morton <a...@linux-foundation.org>
> > > ---
> >
> >
> > Why don't you add it to the genksyms keyword table?
>
> It doesn't work, even if I patch it with an even more elaborate patch
> (attached).
>
> I guess some more surgery will be needed, but for now a fallback works
> as expected.
>
> Uros.

The attached patch looks good to me.



-- 
Best Regards
Masahiro Yamada

Reply via email to