Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4101175pxf; Tue, 23 Mar 2021 02:42:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwfzL6C4Td7mkhzH67jWZQgTMuQsVRvwqTwr/ptoNzgrhiTMTJ15cR3tcwMSIxsYj92aqs X-Received: by 2002:a05:6402:84b:: with SMTP id b11mr3591418edz.56.1616492563508; Tue, 23 Mar 2021 02:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616492563; cv=none; d=google.com; s=arc-20160816; b=q88Emfq3lFlACUTxE8TA7Y4YeU+vLlSaK/jemFV8RTDM7h7C0OK8jLc0UWZiTlZeS/ 7dz5Q90XaBnwgSBLnH6RaIF469EIdUaYaY/yEg2svD8u3wpVocnmUcBtnoZeMji2V4vf E3PmpTIqdBWM2m4o5DVw71BoYpryligSkau2/PWKSiRW/iimPIt5CKZ2YujV13GZCw96 7QDkVgwxZOA5Dwmb1FI0zx52lMqOdSMT/0+7QMf3/9QHQZ1wjDXVE97caFYFjwjoQTyu AfKWvAFZ9hHT/CpaxFmCZr339ZjdbMjQX1MKqXnZ3VaHnapr1i+A0RLn6W3yALqcUbN0 aR1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=pnlfSIXmngr1hJa0IBWWmnX9bndN6ChztJPiTFKqcDU=; b=IOTXAdaqBScTd8xlTckAc1e2/rpnFKDUuxUoD3Q9iVmoebrLXnrf6iKko4s1nw+iO3 Y/s2hju8Nj6lHryZ4Alr/6AtDEVUaLKd9MRI21ASxNeA7JG2IP5uso4W4WLYSIq5gAiQ pD11Ufc7JEqXrwYqccRK94ReBmJ4x1IlSslH7WsZXJ84yNm4BzJxofn76nHwpxNhHTNN +TO9uehukZ3dEf8TuAiqDG9OVQLzFVkdRyLQpChCVM+DA+TJeNoCakeGUoLYY2t+DJkf 4HlLjyR7oBFThbGrC7cECiP5R9rXZhQKMKkBPQtxkhy+Zgax3lr5iMCkuYLSq6lIj2qo zT1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l19si12761672ejz.43.2021.03.23.02.42.20; Tue, 23 Mar 2021 02:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbhCWJiu (ORCPT + 99 others); Tue, 23 Mar 2021 05:38:50 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:42369 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230047AbhCWJip (ORCPT ); Tue, 23 Mar 2021 05:38:45 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0UT3IFAC_1616492323; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UT3IFAC_1616492323) by smtp.aliyun-inc.com(127.0.0.1); Tue, 23 Mar 2021 17:38:43 +0800 From: Yang Li To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] genirq: Add missing IRQF_ONESHOT Date: Tue, 23 Mar 2021 17:38:41 +0800 Message-Id: <1616492321-72383-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fixed the following coccicheck: ./kernel/irq/manage.c:2193:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Reported-by: Abaci Robot Signed-off-by: Yang Li --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 21ea370..a309fd3 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -2191,7 +2191,7 @@ int request_any_context_irq(unsigned int irq, irq_handler_t handler, if (irq_settings_is_nested_thread(desc)) { ret = request_threaded_irq(irq, NULL, handler, - flags, name, dev_id); + flags | IRQF_ONESHOT, name, dev_id); return !ret ? IRQC_IS_NESTED : ret; } -- 1.8.3.1