Thread (1 message) 1 message, 1 author, 2017-07-02
STALE3269d

[PATCH v3 13/28] crypto: adapt api sample to -EIOCBQUEUED as backlog indication

From: Gilad Ben-Yossef <gilad@benyossef.com>
Date: 2017-07-02 14:41:55
Also in: linux-mediatek
Subsystem: crypto api, documentation, the rest · Maintainers: Herbert Xu, "David S. Miller", Jonathan Corbet, Linus Torvalds

Possibly related (same subject, not in this thread)

Replace -EBUSY with -EIOCBQUEUED for backlog queueing indication
as part of new API.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---

This patch should be squashed with the first patch in the series
when applied.

 Documentation/crypto/api-samples.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/crypto/api-samples.rst b/Documentation/crypto/api-samples.rst
index 2531948..c6aa4ba 100644
--- a/Documentation/crypto/api-samples.rst
+++ b/Documentation/crypto/api-samples.rst
@@ -47,7 +47,7 @@ Code Example For Symmetric Key Cipher Operation
         case 0:
             break;
         case -EINPROGRESS:
-        case -EBUSY:
+        case -EIOCBQUEUED:
             rc = wait_for_completion_interruptible(
                 &sk->result.completion);
             if (!rc && !sk->result.err) {
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help