]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: tcrypt - Do not bail on EINPROGRESS in multibuffer hash test
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 Jun 2016 03:00:13 +0000 (11:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Jul 2016 15:45:21 +0000 (23:45 +0800)
commit30cab3d708af1d1e32f5b4cc84e5ea712c83bae9
tree7ec0f55910290a92eec8695c418aaadac054656c
parentae74156339882d046f00cca01b86be70dd23ceb8
crypto: tcrypt - Do not bail on EINPROGRESS in multibuffer hash test

The multibuffer hash speed test is incorrectly bailing because
of an EINPROGRESS return value.  This patch fixes it by setting
ret to zero if it is equal to -EINPROGRESS.

Reported-by: Megha Dey <megha.dey@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c