]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Use known license string for zlua
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Oct 2020 16:43:36 +0000 (09:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Oct 2020 23:03:37 +0000 (16:03 -0700)
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 <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11112
Closes #11113

module/lua/lapi.c

index 8f072531fde59848f40bb0c0b924e10aaa96f843..6a845c461052da54b254c1e5dd4ba37f61b320a8 100644 (file)
@@ -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);