lib/lz4: correct the LZ4 license

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

Signed-off-by: Richard Laager <[email protected]>
Acked-by: Kyungsik Lee <[email protected]>
Cc: Chanho Min <[email protected]>
Cc: Richard Yao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
[ 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 <[email protected]>
This commit is contained in:
Richard Laager 2013-08-22 16:35:47 -07:00 • committed by Linus Torvalds
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:
return ret;
}
EXPORT_SYMBOL_GPL(lz4_compress);
EXPORT_SYMBOL(lz4_compress);
MODULE_LICENSE("GPL");
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("LZ4 compressor");

View file

@ -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

View file

@ -533,7 +533,7 @@ int lz4hc_compress(const unsigned char *src, size_t src_len,
exit:
return ret;
}
EXPORT_SYMBOL_GPL(lz4hc_compress);
EXPORT_SYMBOL(lz4hc_compress);
MODULE_LICENSE("GPL");
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("LZ4HC compressor");