summaryrefslogtreecommitdiff
path: root/include/crypto/internal/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/engine.h')
-rw-r--r--include/crypto/internal/engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/engine.h b/include/crypto/internal/engine.h
index f19ef376833f..6a1d27880615 100644
--- a/include/crypto/internal/engine.h
+++ b/include/crypto/internal/engine.h
@@ -45,7 +45,7 @@ struct crypto_engine {
struct list_head list;
spinlock_t queue_lock;
- struct crypto_queue queue;
+ struct crypto_queue queue __guarded_by(&queue_lock);
struct device *dev;
struct kthread_worker *kworker;