Skip to content
Snippets Groups Projects
Commit cd15f102 authored by Myungho Jung's avatar Myungho Jung Committed by Herbert Xu
Browse files

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: default avatarMyungho Jung <mhjungk@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 07a77929
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment