diff options
author | Eric Biggers | 2016-04-02 17:54:56 +0200 |
---|---|---|
committer | Herbert Xu | 2016-04-15 16:35:44 +0200 |
commit | 6eae29e7e7144d01a6d6af111d232b36cdd30f51 (patch) | |
tree | ef3e63a4a50b469476f0bdbd77942beca41aaa78 /include/crypto/aead.h | |
parent | hwrng: exynos - Fix misspelled Samsung address (diff) | |
download | kernel-qcow2-linux-6eae29e7e7144d01a6d6af111d232b36cdd30f51.tar.gz kernel-qcow2-linux-6eae29e7e7144d01a6d6af111d232b36cdd30f51.tar.xz kernel-qcow2-linux-6eae29e7e7144d01a6d6af111d232b36cdd30f51.zip |
crypto: doc - document correct return value for request allocation
Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/aead.h')
-rw-r--r-- | include/crypto/aead.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/aead.h b/include/crypto/aead.h index 957bb8763219..75174f80a106 100644 --- a/include/crypto/aead.h +++ b/include/crypto/aead.h @@ -405,8 +405,7 @@ static inline void aead_request_set_tfm(struct aead_request *req, * encrypt and decrypt API calls. During the allocation, the provided aead * handle is registered in the request data structure. * - * Return: allocated request handle in case of success; IS_ERR() is true in case - * of an error, PTR_ERR() returns the error code. + * Return: allocated request handle in case of success, or NULL if out of memory */ static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm, gfp_t gfp) |