Skip to contentSkip to conversation

+ lib-lz4-correct-the-lz4-license.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 20, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + lib-lz4-correct-the-lz4-license.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 20 Aug 2013 13:00:29 -0700

The patch titled
Subject: lib/lz4: correct the LZ4 license
has been added to the -mm tree. Its filename is
lib-lz4-correct-the-lz4-license.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/lib-lz4-correct-the-lz4-license.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/lib-lz4-correct-the-lz4-license.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Richard Laager <[email protected]>
Subject: lib/lz4: correct the LZ4 license

The LZ4 code is listed as using the "BSD 2-Clause License".

---

 lib/lz4/lz4_compress.c   |    4 ++--
 lib/lz4/lz4_decompress.c |    6 +++---
 lib/lz4/lz4hc_compress.c |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)
lib/lz4/lz4_compress.c renamed from lib/lz4/lz4_compress.c~lib-lz4-correct-the-lz4-license +2 -2
diff -puN lib/lz4/lz4_compress.c~lib-lz4-correct-the-lz4-license lib/lz4/lz4_compress.c
@@ -437,7 +437,7 @@ int lz4_compress(const unsigned char *sr
 exit:
 	return ret;
 }
-EXPORT_SYMBOL_GPL(lz4_compress);
+EXPORT_SYMBOL(lz4_compress);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual BSD/GPL");
 MODULE_DESCRIPTION("LZ4 compressor");
lib/lz4/lz4_decompress.c renamed from lib/lz4/lz4_decompress.c~lib-lz4-correct-the-lz4-license +3 -3
diff -puN lib/lz4/lz4_decompress.c~lib-lz4-correct-the-lz4-license lib/lz4/lz4_decompress.c
@@ -299,7 +299,7 @@ exit_0:
 	return ret;
 }
 #ifndef STATIC
-EXPORT_SYMBOL_GPL(lz4_decompress);
+EXPORT_SYMBOL(lz4_decompress);
 #endif
 
 int lz4_decompress_unknownoutputsize(const char *src, size_t src_len,
@@ -319,8 +319,8 @@ exit_0:
 	return ret;
 }
 #ifndef STATIC
-EXPORT_SYMBOL_GPL(lz4_decompress_unknownoutputsize);
+EXPORT_SYMBOL(lz4_decompress_unknownoutputsize);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual BSD/GPL");
 MODULE_DESCRIPTION("LZ4 Decompressor");
 #endif
lib/lz4/lz4hc_compress.c renamed from lib/lz4/lz4hc_compress.c~lib-lz4-correct-the-lz4-license +2 -2
diff -puN lib/lz4/lz4hc_compress.c~lib-lz4-correct-the-lz4-license lib/lz4/lz4hc_compress.c
@@ -533,7 +533,7 @@ int lz4hc_compress(const unsigned char *
 exit:
 	return ret;
 }
-EXPORT_SYMBOL_GPL(lz4hc_compress);
+EXPORT_SYMBOL(lz4hc_compress);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual BSD/GPL");
 MODULE_DESCRIPTION("LZ4HC compressor");

_

Patches currently in -mm which might be from [email protected] are

lib-lz4-correct-the-lz4-license.patch