Commit ee8a99bd authored by Richard Laager's avatar Richard Laager Committed by Linus Torvalds

lib/lz4: correct the LZ4 license

The LZ4 code is listed as using the "BSD 2-Clause License".
Signed-off-by: default avatarRichard Laager <rlaager@wiktel.com>
Acked-by: default avatarKyungsik Lee <kyungsik.lee@lge.com>
Cc: Chanho Min <chanho.min@lge.com>
Cc: Richard Yao <ryao@gentoo.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
[ The 2-clause BSD can be just converted into GPL, but that's rude and
  pointless, so don't do it   - Linus ]
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 07555ac1
...@@ -437,7 +437,7 @@ int lz4_compress(const unsigned char *src, size_t src_len, ...@@ -437,7 +437,7 @@ int lz4_compress(const unsigned char *src, size_t src_len,
exit: exit:
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(lz4_compress); EXPORT_SYMBOL(lz4_compress);
MODULE_LICENSE("GPL"); MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("LZ4 compressor"); MODULE_DESCRIPTION("LZ4 compressor");
...@@ -299,7 +299,7 @@ int lz4_decompress(const char *src, size_t *src_len, char *dest, ...@@ -299,7 +299,7 @@ int lz4_decompress(const char *src, size_t *src_len, char *dest,
return ret; return ret;
} }
#ifndef STATIC #ifndef STATIC
EXPORT_SYMBOL_GPL(lz4_decompress); EXPORT_SYMBOL(lz4_decompress);
#endif #endif
int lz4_decompress_unknownoutputsize(const char *src, size_t src_len, int lz4_decompress_unknownoutputsize(const char *src, size_t src_len,
...@@ -319,8 +319,8 @@ int lz4_decompress_unknownoutputsize(const char *src, size_t src_len, ...@@ -319,8 +319,8 @@ int lz4_decompress_unknownoutputsize(const char *src, size_t src_len,
return ret; return ret;
} }
#ifndef STATIC #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"); MODULE_DESCRIPTION("LZ4 Decompressor");
#endif #endif
...@@ -533,7 +533,7 @@ int lz4hc_compress(const unsigned char *src, size_t src_len, ...@@ -533,7 +533,7 @@ int lz4hc_compress(const unsigned char *src, size_t src_len,
exit: exit:
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(lz4hc_compress); EXPORT_SYMBOL(lz4hc_compress);
MODULE_LICENSE("GPL"); MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("LZ4HC compressor"); MODULE_DESCRIPTION("LZ4HC compressor");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment