crypto: in_irq() cleanup
PATCH 1/1 crypto: in_irq() cleanup
Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq().
Signed-off-by Changbin Du <[email protected]>
--- crypto/skcipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/skcipher.c +1 -1
@@ -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 ;
Signature · 1 line
2.30.2
Herbert Xu
maintainerQuoted 7 lines · Changbin Du
Replace the obsolete and ambiguos macro
in_irq()with new macroin_hardirq().Signed-off-by Changbin Du <[email protected]>--- crypto/skcipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt