Skip to content

Commit

Permalink
Use known license string for zlua
Browse files Browse the repository at this point in the history
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 openzfs#11112
Closes openzfs#11113
  • Loading branch information
behlendorf authored and RageLtMan committed May 31, 2021
1 parent 1a856f2 commit a5deeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/lua/lapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5deeae

Please sign in to comment.