compiler.h: Avoid the usage of __typeof_unqual__() when __GENKSYMS__ is defined
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 <ubizjak@gmail.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Fixes: ac053946f5c40 ("compiler.h: introduce TYPEOF_UNQUAL() macro")
Link: https://patch.msgid.link/20250404102535.705090-1-ubizjak@gmail.com
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de> # warning `cryptd: no
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Closes: https://lore.kernel.org/lkml/81a25a60-de78-43fb-b56a-131151e1c035@molgen.mpg.de/
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
1 file changed