diff options
-rw-r--r-- | include/crypto/internal/skcipher.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h index 06e8b32d541c..b3a46c515d1b 100644 --- a/include/crypto/internal/skcipher.h +++ b/include/crypto/internal/skcipher.h | |||
@@ -81,8 +81,7 @@ static inline int skcipher_enqueue_givcrypt( | |||
81 | static inline struct skcipher_givcrypt_request *skcipher_dequeue_givcrypt( | 81 | static inline struct skcipher_givcrypt_request *skcipher_dequeue_givcrypt( |
82 | struct crypto_queue *queue) | 82 | struct crypto_queue *queue) |
83 | { | 83 | { |
84 | return __crypto_dequeue_request( | 84 | return skcipher_givcrypt_cast(crypto_dequeue_request(queue)); |
85 | queue, offsetof(struct skcipher_givcrypt_request, creq.base)); | ||
86 | } | 85 | } |
87 | 86 | ||
88 | static inline void *skcipher_givcrypt_reqctx( | 87 | static inline void *skcipher_givcrypt_reqctx( |