VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Changbin Du <changbin.du@gmail.com> 2021-08-14 09:11:14 +0800 committer: Herbert Xu <herbert@gondor.apana.org.au> 2021-08-21 15:44:58 +0800 commit: abfc7fad63940b8dfdfd25da6f0fa813d9561645 parent: 3e1d2c52b2045ba7f90966b02daeb6c438432570
Commit Summary:
crypto: skcipher - in_irq() cleanup
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/crypto/skcipher.c b/crypto/skcipher.c
index a15376245416..418211180cee 100644
--- a/crypto/skcipher.c
+++ b/crypto/skcipher.c
@@ -431,7 +431,7 @@ static int skcipher_copy_iv(struct skcipher_walk *walk)
 
 static int skcipher_walk_first(struct skcipher_walk *walk)
 {
-	if (WARN_ON_ONCE(in_irq()))
+	if (WARN_ON_ONCE(in_hardirq()))
 		return -EDEADLK;
 
 	walk->buffer = NULL;