From e334e828a6d8bbcff51b61acb0f7b4d238a28089 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Fri, 29 Jul 2016 19:43:23 +0300 Subject: Unify license of icp module with the rest of zfs The newly added icp module uses a hardcoded value of CDDL for the license, however in local development one might want to change that to something else in order to facilitate compiling against lock debugging enabled kernel. All modules of the zfs use the ZFS_META_LICNSE string which is replaced with the value held in the META file. One can modify the value in the META file once and then rerun the configure to have all modules' licenses changed. Change the icp module license string to be ZFS_META_LICENSE so that it falls under the same paradigm. Signed-off-by: Nikolay Borisov Signed-off-by: Brian Behlendorf Closes #4905 --- module/icp/illumos-crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/icp/illumos-crypto.c b/module/icp/illumos-crypto.c index 63f019fa6..7dd5dbf42 100644 --- a/module/icp/illumos-crypto.c +++ b/module/icp/illumos-crypto.c @@ -148,5 +148,5 @@ icp_init(void) #if defined(_KERNEL) && defined(HAVE_SPL) module_exit(icp_fini); module_init(icp_init); -MODULE_LICENSE("CDDL"); +MODULE_LICENSE(ZFS_META_LICENSE); #endif -- cgit v1.2.3