summaryrefslogtreecommitdiffstats
path: root/mm/kmemcheck.c
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-07-29 19:42:09 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-30 21:49:40 +0800
commit7371c0a5c205455d69f8e8dc1d16791f08a38155 (patch)
tree194bd4310919ede1b2e8c2c2a14b7ac2ea75727b /mm/kmemcheck.c
parentcaa8c508494c5de3ea70b44804abfd003f6b0107 (diff)
downloadlinux-7371c0a5c205455d69f8e8dc1d16791f08a38155.tar.bz2
crypto: nx - don't err if compressed output > input
Return success instead of error if compression succeeds but the output is larger than the input. It's unlikely that the caller will use the compressed data since it's larger than the original uncompressed data, but there was no error and returning an error code is incorrect. Further, for testing small input buffers, the output is likely to be larger than the input and success needs to be returned to verify the test. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm/kmemcheck.c')
0 files changed, 0 insertions, 0 deletions