diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2006-10-11 14:29:51 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-10-11 14:29:51 +0200 |
commit | 9765d262b8230b735c4b2815b041c09a00833cf1 (patch) | |
tree | cf24840b4e1f06f1f1f756f52f4f9870b02a5ed3 /include/asm-mips/asmmacro-64.h | |
parent | ACPI: Allow setting SCI_EN bit in PM1_CONTROL register (diff) | |
download | linux-9765d262b8230b735c4b2815b041c09a00833cf1.tar.xz linux-9765d262b8230b735c4b2815b041c09a00833cf1.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 'include/asm-mips/asmmacro-64.h')
0 files changed, 0 insertions, 0 deletions