aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKOVACS Krisztian <hidden@sch.bme.hu>2014-08-22 10:44:35 +0200
committerSimon Shields <keepcalm444@gmail.com>2016-06-12 21:20:14 +1000
commiteb69dce0e5f1c67e6eeeab789683e7f5adc2d586 (patch)
tree0a4659ebbe801168ce9e4d986b17e3c77a33bdb8 /mm
parentaf358596dc922c13d1cf7319513e3371258bfe04 (diff)
downloadkernel_samsung_smdk4412-eb69dce0e5f1c67e6eeeab789683e7f5adc2d586.zip
kernel_samsung_smdk4412-eb69dce0e5f1c67e6eeeab789683e7f5adc2d586.tar.gz
kernel_samsung_smdk4412-eb69dce0e5f1c67e6eeeab789683e7f5adc2d586.tar.bz2
crypto: lz4,lz4hc - fix decompression
The lz4 library has two functions for decompression, with slightly different signatures and behaviour. The lz4_decompress_crypto() function seemed to be using the one that assumes that the decompressed length is known in advance. This patch switches to the other decompression function and makes sure that the length of the decompressed output is properly returned to the caller. The same issue was present in the lz4hc algorithm. Coincidentally, this change also makes very basic lz4 and lz4hc compression tests in testmgr pass. Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions