hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/crypto/rockchip/cryptodev_linux/rk_cryptodev.c
....@@ -636,7 +636,7 @@
636636 const char *driver = "rsa-rk";
637637 struct crypto_akcipher *tfm = NULL;
638638 struct akcipher_request *req = NULL;
639
- struct crypto_wait wait;
639
+ DECLARE_CRYPTO_WAIT(wait);
640640 struct scatterlist src, dst;
641641 bool is_priv_key = (rop->flags & COP_FLAG_RSA_PRIV) == COP_FLAG_RSA_PRIV;
642642