Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp102097pxx; Wed, 28 Oct 2020 19:45:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvTyVV39cRbObgETN/5feyF1XBoJ7kmlkJuaga3fZhNXipAXNyDK1B+A0Axjj300bAFr9L X-Received: by 2002:aa7:c792:: with SMTP id n18mr1868134eds.209.1603939558975; Wed, 28 Oct 2020 19:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603939558; cv=none; d=google.com; s=arc-20160816; b=x9BNx241gjvM3ukreflZ42fa9q4f/cSBE/GSc4fyLLTewilq9/RMAWyyhKuPzBSowN Ocqar+KXzsoGbgSHfSe8xMEY425lporJZW551j0LK+Uz+t33s7bjxDF0k4uRcLPJ/+kS cFX5GuUI4kXbnzHiRwBBOTdl9eYwacuBqMLc0LZZHUifWLzQ5ygckJLwzywaGL4DvUTG EO6d14MFu1UB1sjgMRm+3FzZ2bCL346We6oMfjA6C0gXvxJRDcVpp0D7wnzoKleVZ9wH mrJBF/F/jddoxC9XQI3MjADnZw9SDJSK+NgjecCAsWYRTwjCXBRPItFEmvuk+Mf5lZf3 zQOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=EFFcCiWHpOLZPCjGBQCEtUwOQCIcjwpF3eSzW3N4DSg=; b=SqzluAin3sbUaPnv7B4Sr0cPoDagRDreU9fkUUTAz0SFPtp1aAgj6MM4SUxnZX1YO2 eoGmc2u9QX0p0ZzVvwLitnwF39cm/I/srgLeU8sst2dzMNccK8b7ukN471cJTXjdPu+P 2tMvpfX1ztdoH1ifPmxvcqko0bQAyW2xYzN3GXkQhpO3wjEmRBH7SaKKn2bT79nbnh+r JzwZRu0nOdyyzjpbUcesv2I3ELKa2uYaivPmlAU7AlAXdehUVzRM0yHZgH/Uf3fXcczq jV4UIYopRxLvE0BdCCwwPmNyDc4tgUaXhVO2CWLsN2TAoyVTpFdfLmVzlIShzQ26lR4A BFuw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r1si933985ejh.137.2020.10.28.19.45.37; Wed, 28 Oct 2020 19:45:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729792AbgJ1WFE (ORCPT + 99 others); Wed, 28 Oct 2020 18:05:04 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6565 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729359AbgJ1WCV (ORCPT ); Wed, 28 Oct 2020 18:02:21 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CLhyz57XzzhZ6B; Wed, 28 Oct 2020 16:47:23 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 28 Oct 2020 16:47:10 +0800 From: Zou Wei To: , CC: , Zou Wei Subject: [PATCH -next] phy: cpcap-usb: Use IRQF_ONESHOT Date: Wed, 28 Oct 2020 16:59:09 +0800 Message-ID: <1603875549-107500-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck error: ./drivers/phy/motorola/phy-cpcap-usb.c:365:9-34: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/phy/motorola/phy-cpcap-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/motorola/phy-cpcap-usb.c b/drivers/phy/motorola/phy-cpcap-usb.c index 089db0d..442522b 100644 --- a/drivers/phy/motorola/phy-cpcap-usb.c +++ b/drivers/phy/motorola/phy-cpcap-usb.c @@ -364,7 +364,8 @@ static int cpcap_usb_init_irq(struct platform_device *pdev, error = devm_request_threaded_irq(ddata->dev, irq, NULL, cpcap_phy_irq_thread, - IRQF_SHARED, + IRQF_SHARED | + IRQF_ONESHOT, name, ddata); if (error) { dev_err(ddata->dev, "could not get irq %s: %i\n", -- 2.6.2