From 13c38c4c459e6454d3267bab96ec593d5c5342b5 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 28 Sep 2020 18:43:27 -0700 Subject: [PATCH] Use known license string for zzstd The Linux kernel MODULE_LICENSE macro only recognizes a handful of license strings and "BSD" is not one of the them. Update the macro to use "Dual BSD/GPL" which is recognized and what the kernel expects BSD licensed module to use. Reviewed-by: Kjeld Schouten Signed-off-by: Brian Behlendorf Closes #10982 Closes #10992 --- module/zstd/zfs_zstd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zstd/zfs_zstd.c b/module/zstd/zfs_zstd.c index 431801d47c..c10b7a84d6 100644 --- a/module/zstd/zfs_zstd.c +++ b/module/zstd/zfs_zstd.c @@ -729,7 +729,7 @@ module_init(zstd_init); module_exit(zstd_fini); ZFS_MODULE_DESCRIPTION("ZSTD Compression for ZFS"); -ZFS_MODULE_LICENSE("BSD"); +ZFS_MODULE_LICENSE("Dual BSD/GPL"); ZFS_MODULE_VERSION(ZSTD_VERSION_STRING); EXPORT_SYMBOL(zfs_zstd_compress);