diff options
author | Myungho Jung <mhjungk@gmail.com> | 2017-04-09 17:34:22 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-10 19:17:27 +0800 |
commit | 6ca133a69d99f3f2b3590bcebb4d48553852b42a (patch) | |
tree | 21b754b52cbb08cd668b36e403d904b22225ef95 /crypto/simd.c | |
parent | 7175dac1d936b8952135c804b9db718821852877 (diff) | |
download | linux-crypto-6ca133a69d99f3f2b3590bcebb4d48553852b42a.tar.gz linux-crypto-6ca133a69d99f3f2b3590bcebb4d48553852b42a.zip |
crypto: lz4 - fixed decompress function to return error code
Decompress function in LZ4 library is supposed to return an error code or
negative result. But, it returns -1 when any error is detected. Return
error code when the library returns negative value.
Signed-off-by: Myungho Jung <mhjungk@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/simd.c')
0 files changed, 0 insertions, 0 deletions