summaryrefslogtreecommitdiffstats
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/lz4hc.c')
-rw-r--r--crypto/lz4hc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lz4hc.c b/crypto/lz4hc.c
index 151ba31d34e..9218b3fed5e 100644
--- a/crypto/lz4hc.c
+++ b/crypto/lz4hc.c
@@ -68,7 +68,7 @@ static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src,
size_t tmp_len = *dlen;
size_t __slen = slen;
- err = lz4_decompress(src, &__slen, dst, tmp_len);
+ err = lz4_decompress_unknownoutputsize(src, __slen, dst, &tmp_len);
if (err < 0)
return -EINVAL;