summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2021-08-13 22:57:49 +0800
committerJakub Kicinski <kuba@kernel.org>2021-08-13 14:09:19 -0700
commitafa79d08c6c8e1901cb1547591e3ccd3ec6965d9 (patch)
tree116982e91b8dbb615292bb432f64a45c277a0376 /net/nfc
parent39a0876d595bd7c7512782dfcce0ee66f65bf221 (diff)
net: in_irq() cleanup
Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq(). Signed-off-by: Changbin Du <changbin.du@gmail.com> Link: https://lore.kernel.org/r/20210813145749.86512-1-changbin.du@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/rawsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c
index 5e39640becdb..0ca214ab5aef 100644
--- a/net/nfc/rawsock.c
+++ b/net/nfc/rawsock.c
@@ -140,7 +140,7 @@ static void rawsock_data_exchange_complete(void *context, struct sk_buff *skb,
{
struct sock *sk = (struct sock *) context;
- BUG_ON(in_irq());
+ BUG_ON(in_hardirq());
pr_debug("sk=%p err=%d\n", sk, err);