summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-10-11 22:29:51 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-10-11 22:29:51 +1000
commit191ebdd6037799b450066b5cd42457e9bb8327b9 (patch)
tree8a966d7a43e5dcad7b4a6c19d7db31d07199ac28 /crypto/Kconfig
parentfea7321d0cad87c42610e7c1a7c7991564847849 (diff)
downloadlinux-crypto-191ebdd6037799b450066b5cd42457e9bb8327b9.tar.gz
linux-crypto-191ebdd6037799b450066b5cd42457e9bb8327b9.zip
[CRYPTO] api: fix crypto_alloc_base() return value
This patch makes crypto_alloc_base() return proper return value. - If kzalloc() failure happens within __crypto_alloc_tfm(), crypto_alloc_base() returns NULL. But crypto_alloc_base() is supposed to return error code as pointer. So this patch makes it return -ENOMEM in that case. - crypto_alloc_base() is suppose to return -EINTR, if it is interrupted by signal. But it may not return -EINTR. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions