summaryrefslogtreecommitdiffstats
path: root/module/lua
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-10-27 09:43:36 -0700
committerGitHub <[email protected]>2020-10-27 09:43:36 -0700
commit4ce728d028bc8bc32dfeced2a590edec12be565d (patch)
tree2b30ccb2db85b86f6a81890ac7ac2b67f37de486 /module/lua
parent5c810ac4999b773ec0528ca72c946d3acc82e87d (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11112 Closes #11113
Diffstat (limited to 'module/lua')
-rw-r--r--module/lua/lapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/lua/lapi.c b/module/lua/lapi.c
index 8f072531f..6a845c461 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);