summaryrefslogtreecommitdiffstats
path: root/cryptodev_cipher.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-09 08:10:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 09:25:09 +0200
commita50f325fa89fe2e4b6dfeb1c76a2e23ddaad4b68 (patch)
tree323659c0013aaae802b0cb8983c22a7ec19a7092 /cryptodev_cipher.c
parentd94b51511499508a39f0a96f7c75cab4547b9b41 (diff)
downloadkernel-crypto-a50f325fa89fe2e4b6dfeb1c76a2e23ddaad4b68.tar.gz
kernel-crypto-a50f325fa89fe2e4b6dfeb1c76a2e23ddaad4b68.tar.xz
kernel-crypto-a50f325fa89fe2e4b6dfeb1c76a2e23ddaad4b68.zip
On async request error report the request error
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'cryptodev_cipher.c')
-rw-r--r--cryptodev_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c
index a1e61f1cc3f..85f218cd3c5 100644
--- a/cryptodev_cipher.c
+++ b/cryptodev_cipher.c
@@ -153,7 +153,7 @@ static inline int waitfor (struct cryptodev_result* cr, ssize_t ret)
* another request. */
if (unlikely(cr->err)) {
- dprintk(0,KERN_ERR,"error from async request: %zd \n", ret);
+ dprintk(0,KERN_ERR,"error from async request: %d \n", cr->err);
return cr->err;
}