Builds break with kernel 6.13 as MODULE_IMPORT_NS() has been changed to accept string literals instead of constants:
[ 25s] gasket_page_table.c:57:18: error: expected ‘,’ or ‘;’ before ‘DMA_BUF’
[ 25s] 57 | MODULE_IMPORT_NS(DMA_BUF);
[ 25s] | ^~~~~~~
[ 25s] /usr/src/linux-6.13.0-1/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’
[ 25s] 26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
[ 25s] | ^~~~
[ 25s] /usr/src/linux-6.13.0-1/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’
[ 25s] 299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
[ 25s] | ^~~~~~~~~~~
[ 25s] gasket_page_table.c:57:1: note: in expansion of macro ‘MODULE_IMPORT_NS’
[ 25s] 57 | MODULE_IMPORT_NS(DMA_BUF);
[ 25s] | ^~~~~~~~~~~~~~~~
This is simple enough to fix, as seen in torvalds/linux@cdd30eb.
I'll have a PR up shortly.
Builds break with kernel 6.13 as
MODULE_IMPORT_NS()has been changed to accept string literals instead of constants:This is simple enough to fix, as seen in torvalds/linux@cdd30eb.
I'll have a PR up shortly.