On Fri, Apr 4, 2025 at 4:06 PM Masahiro Yamada <[email protected]> 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 <[email protected]> > > > > Fixes: ac053946f5c40 ("compiler.h: introduce TYPEOF_UNQUAL() macro") > > > > Reported-by: Paul Menzel <[email protected]> > > > > Closes: > > > > https://lore.kernel.org/lkml/[email protected]/ > > > > Cc: Sami Tolvanen <[email protected]> > > > > Cc: Andrew Morton <[email protected]> > > > > --- > > > > > > > > > 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. FAOD - do you refer to the submitted one for compiler.h or to the one for scripts/genksyms/keywords.c? (The latter doesn't fix the warning, though). Thanks, Uros.

