[PATCH] Support Linux 6.13: convert symbol namespace to string literal
In Linux 6.13 symbol namespaces has been converted to string literals. See commit cdd30ebb1b9f36 module: Convert symbol namespace to string literal.
This causes the following compile time error:
In file included from /usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:22, from testmgr.c:27: testmgr.c:35:18: error: expected ‘,’ or ‘;’ before ‘CRYPTO_INTERNAL’ 35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL); | ^~~~~~~~~~~~~~~ /usr/src/linux-headers-6.14.0-5-generic/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’ 26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info | ^~~~ /usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’ 299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns) | ^~~~~~~~~~~ testmgr.c:35:1: note: in expansion of macro ‘MODULE_IMPORT_NS’ 35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL); | ^~~~~~~~~~~~~~~~