projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1d2c5
)
crypto: skcipher - in_irq() cleanup
author
Changbin Du
<changbin.du@gmail.com>
Sat, 14 Aug 2021 01:11:14 +0000
(09:11 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 21 Aug 2021 07:44:58 +0000
(15:44 +0800)
Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/skcipher.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/skcipher.c
b/crypto/skcipher.c
index a1537624541607c8095d627c505f0485d9b07155..418211180ceec379570c7de99ef43d86861b7c5a 100644
(file)
--- 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_
hard
irq()))
return -EDEADLK;
walk->buffer = NULL;