Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1244454pxb; Fri, 13 Aug 2021 18:12:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9yWkhFqtGYyYXZ5FofAaz9WM1eRzBgoUO28FGGdooKWFvut9+lyqBQ9JFtsIRilwSjaOM X-Received: by 2002:a5d:9e45:: with SMTP id i5mr4062180ioi.69.1628903548001; Fri, 13 Aug 2021 18:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628903547; cv=none; d=google.com; s=arc-20160816; b=MirsM4RxqPnUAOkw3e8a1HOiSu0oXth/Kd0CAYke5VzwiNJvc1OlpEzjLsxU8bbdOH 3wM8jgQFq4+m2tzIvxcXR2rkqYnd5G+vPUMJTRuTQ0TTmIvr8LouNwbYpiHSDBESbaCf eugkv+SHT9p3VlygI8vcteUInenobT5Gszar0XMqli2Hs/u1XVbP53Vk1vqoLiG2Eahv xBgohflqKnby44qsCkhAu1fmsZoIhuwYPFSOQTlW+W4VcpOfFUSezwhs0rb25ozd0OvJ kH1mEeVthxx6YOPO56Y8fAuiovS6lC5nmSqKr5xHkUT3jznSD/MSQe82t/7YZtidns0y tRSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=q7ftbmGt3dtvIFzhyKs506CMgP9EQiBj0ylWETSYGUU=; b=kSRQU2/sY8bKe6PP5iYZLh5C0Kjqdg+NueFj/LA5tcW+NDbTUTBaeC5mxQpL59niNY mypkcyYbcUX86neOAYRjYPEgM+rinwoxu1iOBag3Mw6aBtB4U2zmKUKRATRe+WmkOXqz g1JymnZthz+YLNTXtBtzFjD19X7RBlbSdvTkvBqslTyEoq7gnAuNyNG/RRDOhWzYvVh/ ZBmC0bHsGhg06thRyWqIg01o33/QkLgAjsXn0Bb3rgHBjo/w78l0pfbegxbZ5biJtHIQ 4G/5CRjShO5g+ghGUzL81wAc6IDjXRhEBSrWLK5szaqkmj0PhkHgnyaGPSr03RUg9dJb 59xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PfjepnBw; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si3140109ilb.144.2021.08.13.18.12.07; Fri, 13 Aug 2021 18:12:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PfjepnBw; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236322AbhHNBLv (ORCPT + 99 others); Fri, 13 Aug 2021 21:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236317AbhHNBLu (ORCPT ); Fri, 13 Aug 2021 21:11:50 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB46C0617AE; Fri, 13 Aug 2021 18:11:23 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id l11so14219016plk.6; Fri, 13 Aug 2021 18:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q7ftbmGt3dtvIFzhyKs506CMgP9EQiBj0ylWETSYGUU=; b=PfjepnBwOReI1jhsRoFZ/vC6hY6vzzrU3moCz4N4T6rgQrxWJqYaxuXGgPXYi2suJ9 Qg26cY5XM6sWKXe1evMcdw98Muq01SWz1Ro33Eo6nXI99Sz1EPY+p5H+gL1SWVb94Apm Nxmz51FWZdbIooz3m51C4dQMyNvs6ziNxbCpmh7Ay7q0efEBGQwsBB05Rvxz55gxo6Hu Kr2tL3X9LOBLy6F8z2m8ol2+OATu1hNSTp7ewrxCZZ8QPPEKHLoH3hh/PshwtzON7dPd fX2iELBox/G/BKrCbU10c1xRBAmbjzTANvEb0hDVhfEAc0xjfqFogxYKdu9DjsrXp8eu S3qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q7ftbmGt3dtvIFzhyKs506CMgP9EQiBj0ylWETSYGUU=; b=OKbZwWVm7imPCEQ18PCJH9Mnw21c0GAUsunu/f34S65Wwus2veAtKINlRWom9PqTLb VPhMF/jn3eo/h0DPXXCBaON3la8NoNGi3jSw5UFqFGrBXK1ERo8T61lmRE91tvVZ0Oio mYKDbEIh1FNwd6hFVDhCV/0/ABlfkgW+nlGRaHAsSennqjmXaczA9OGrupkgUO5RJOU0 D0AmeJE6O7CZoNupOO6hGw8K3OSelyNylfcAHqoyDVwHRDO2mYVDLhg6FoZzGtj5I+fS XHq4CFwYK1dfCuhmzmMwLN2JPJqiujmuFLBJm4Yi2hEU6ZN0BleWmGDldDCtStasHWZo 8+Fg== X-Gm-Message-State: AOAM53169HF8BHurpMkEJwX/3FKJuXoiwIHZEnHO/44f1YDktpR+Ue47 ZGG/sVSWCA7cKGnlGOTbgYs= X-Received: by 2002:a17:90b:3903:: with SMTP id ob3mr5109566pjb.44.1628903483065; Fri, 13 Aug 2021 18:11:23 -0700 (PDT) Received: from WRT-WX9.. ([141.164.41.4]) by smtp.gmail.com with ESMTPSA id o20sm4235448pgv.80.2021.08.13.18.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 18:11:22 -0700 (PDT) From: Changbin Du To: Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH] crypto: in_irq() cleanup Date: Sat, 14 Aug 2021 09:11:14 +0800 Message-Id: <20210814011114.4842-1-changbin.du@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq(). Signed-off-by: Changbin Du --- crypto/skcipher.c | 2 +- 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; -- 2.30.2