diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-02-20 09:14:00 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-02-20 09:14:00 +0100 |
commit | 9d402a27a31f6c7a6722b22d57d374738e9234cf (patch) | |
tree | bb8dec2369c233564cbe6330316d2119cf8f53ac /cryptodev_cipher.c | |
parent | 78905baffa23c95020899d18298bdde2edaf6ea3 (diff) | |
download | kernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.tar.gz kernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.tar.xz kernel-crypto-9d402a27a31f6c7a6722b22d57d374738e9234cf.zip |
Use wait_for_completion instead of wait_for_completion_interruptible since
we cannot restart the system call so far.
Diffstat (limited to 'cryptodev_cipher.c')
-rw-r--r-- | cryptodev_cipher.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c index 622684fdcbe..86b3bdc5ac3 100644 --- a/cryptodev_cipher.c +++ b/cryptodev_cipher.c @@ -147,8 +147,7 @@ static inline int waitfor (struct cryptodev_result* cr, ssize_t ret) break; case -EINPROGRESS: case -EBUSY: - ret = wait_for_completion_interruptible( - &cr->completion); + ret = wait_for_completion(&cr->completion); /* no error from wait_for_completion */ if (ret) { dprintk(0,KERN_ERR,"error waiting for async request completion: %zd\n", ret); |