aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorEric Biggers <ebiggers3@gmail.com>2016-04-02 11:54:56 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 10:35:44 -0400
commit6eae29e7e7144d01a6d6af111d232b36cdd30f51 (patch)
treeef3e63a4a50b469476f0bdbd77942beca41aaa78 /Documentation/DocBook
parent043809d8d25eac8307c8c7b74bca7266070cb007 (diff)
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 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/crypto-API.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/DocBook/crypto-API.tmpl b/Documentation/DocBook/crypto-API.tmpl
index 348619fcafb8..d55dc5a39bad 100644
--- a/Documentation/DocBook/crypto-API.tmpl
+++ b/Documentation/DocBook/crypto-API.tmpl
@@ -1936,9 +1936,9 @@ static int test_skcipher(void)
1936 } 1936 }
1937 1937
1938 req = skcipher_request_alloc(skcipher, GFP_KERNEL); 1938 req = skcipher_request_alloc(skcipher, GFP_KERNEL);
1939 if (IS_ERR(req)) { 1939 if (!req) {
1940 pr_info("could not allocate request queue\n"); 1940 pr_info("could not allocate skcipher request\n");
1941 ret = PTR_ERR(req); 1941 ret = -ENOMEM;
1942 goto out; 1942 goto out;
1943 } 1943 }
1944 1944