lib/lz4: correct the LZ4 license

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

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Acked-by: Kyungsik Lee <kyungsik.lee@lge.com>
Cc: Chanho Min <chanho.min@lge.com>
Cc: Richard Yao <ryao@gentoo.org>
Signed-off-by: Andrew 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: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Richard Laager 2013-08-22 16:35:47 -07:00 committed by Linus Torvalds
parent 07555ac144
commit ee8a99bdb4
3 changed files with 7 additions and 7 deletions

View File

@ -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");

View File

@ -299,7 +299,7 @@ exit_0:
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 @@ exit_0:
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

View File

@ -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");