From a50f325fa89fe2e4b6dfeb1c76a2e23ddaad4b68 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 9 Jul 2010 08:10:18 +0200 Subject: On async request error report the request error Signed-off-by: Nikos Mavrogiannopoulos --- cryptodev_cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptodev_cipher.c') diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c index a1e61f1..85f218c 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; } -- cgit