From 4ce728d028bc8bc32dfeced2a590edec12be565d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 27 Oct 2020 09:43:36 -0700 Subject: [PATCH] Use known license string for zlua The Linux kernel MODULE_LICENSE macro only recognizes a handful of license strings and "MIT" is not one of the them. Update the macro to use "Dual MIT/GPL" which is recognized and what the kernel expects MIT licensed modules to use. Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Closes #11112 Closes #11113 --- module/lua/lapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/lua/lapi.c b/module/lua/lapi.c index 8f072531fd..6a845c4610 100644 --- a/module/lua/lapi.c +++ b/module/lua/lapi.c @@ -1300,7 +1300,7 @@ module_exit(lua_fini); ZFS_MODULE_DESCRIPTION("Lua Interpreter for ZFS"); ZFS_MODULE_AUTHOR("Lua.org"); -ZFS_MODULE_LICENSE("MIT"); +ZFS_MODULE_LICENSE("Dual MIT/GPL"); ZFS_MODULE_VERSION(ZFS_META_VERSION "-" ZFS_META_RELEASE); EXPORT_SYMBOL(lua_absindex);