From 5aa3e3d3be4b0c2a2f30cd0a6de49ad1d0c42de2 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 431801d47..c10b7a84d 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);