aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers3@gmail.com>2016-04-02 10:54:56 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 22:35:44 +0800
commit6eae29e7e7144d01a6d6af111d232b36cdd30f51 (patch)
treeef3e63a4a50b469476f0bdbd77942beca41aaa78 /include/linux/crypto.h
parenthwrng: exynos - Fix misspelled Samsung address (diff)
downloadlinux-dev-6eae29e7e7144d01a6d6af111d232b36cdd30f51.tar.xz
linux-dev-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/linux/crypto.h')
-rw-r--r--include/linux/crypto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 99c94899ad0f..6e28c895c376 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -948,8 +948,7 @@ static inline struct ablkcipher_request *ablkcipher_request_cast(
* encrypt and decrypt API calls. During the allocation, the provided ablkcipher
* 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 ablkcipher_request *ablkcipher_request_alloc(
struct crypto_ablkcipher *tfm, gfp_t gfp)