Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1823051imm; Thu, 16 Aug 2018 03:16:58 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxUlZ4PmxDIOI6hjAN7Oyj+p4ga5AKR8F2HPsAhBBW+Rv+BBb6idgT6e4RQMnUpSJRCrTph X-Received: by 2002:a63:f849:: with SMTP id v9-v6mr27922066pgj.71.1534414618145; Thu, 16 Aug 2018 03:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534414618; cv=none; d=google.com; s=arc-20160816; b=TGmNRWKMXIxsbtkZ3ohSqUdD3EoSw/aZQfUYODibzwz2sBrcvjf7Kw1ZNc7loZ2u+U cOE1vt4/oec+2KVTnKfFacX9nR9XfhDFtamOzJONc7qHtAkqjdofpvN6DCHCEWNwHrEe IunmZBY5mfksPgJjdAV/+Cbtf165ua+MCcwKbAqrGNmDbtsaXmL6ONEW6evPHJD3J1ZH ZmhFqNCQpOEiVomcgNcuvjZKLHzYdvMf7ZiS2kHe8qeqKB4KlIXEZig/sH7NdTzrdSU9 KbAU8G5scylUAqXgXSgoIPEe9Yl3eeANSdod3S3n/SfJ4sBewTctm8LsWvSrhiaGIlv7 GAKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=OMKVE+23snW3f/U/CT2miCdo1wpWRWWi8I9E+V3PKtA=; b=F2ukpTf4XDjtXlO56AeCLQcR2n/dRTt5rdC7JxzIKDj1Hp2BlFi/p/+9EToKTQzOCI f2OX0mN1cxQhzQhbf85e2xoM+ed16Xvby7v9PeMvAYdxSyDYyji9Ynr9tI4Ziv8JY0H+ DNDD6mxsDC7FP4qaRkRDWl+1nC0qTuijV3uilXrOJWgPepu1d8dgHJoz/gwZ776IEDm5 XAhDFSAWNZ38n+QiTClAs9sVo2An0AO/+up4afSJaS2BviNRNncqR5F9yh2ZPeYm9OJw F2IZVq5vvZFWKXCphZ3LB1E1Wh8BDW/kTtrto4AjHHox3H5ehTndS7RSkYljVKE0ZLAf +MnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24-v6si22483496plq.358.2018.08.16.03.16.42; Thu, 16 Aug 2018 03:16:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389031AbeHPJmn (ORCPT + 99 others); Thu, 16 Aug 2018 05:42:43 -0400 Received: from mga12.intel.com ([192.55.52.136]:47374 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeHPJmn (ORCPT ); Thu, 16 Aug 2018 05:42:43 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2018 23:46:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,246,1531810800"; d="scan'208";a="80688158" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 15 Aug 2018 23:46:17 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fqC2y-0004ex-Vd; Thu, 16 Aug 2018 14:46:16 +0800 Date: Thu, 16 Aug 2018 14:46:02 +0800 From: kbuild test robot To: Roy Im Cc: kbuild-all@01.org, Dmitry Torokhov , Rob Herring , Mark Rutland , Support Opensource , devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: fix irqf_oneshot.cocci warnings Message-ID: <20180816064602.GA95363@cairo> References: <662cd241e04a1e033c87d1a94c594740b594b0b6.1534384964.git.Roy.Im@diasemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <662cd241e04a1e033c87d1a94c594740b594b0b6.1534384964.git.Roy.Im@diasemi.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot drivers/input/misc/da7280.c:1335:7-32: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. So pass the IRQF_ONESHOT flag in this case. Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Fixes: a067f5d53e35 ("Input: new da7280 haptic driver") CC: Roy Im Signed-off-by: kbuild test robot --- Please take the patch only if it's a positive warning. Thanks! da7280.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/input/misc/da7280.c +++ b/drivers/input/misc/da7280.c @@ -1334,7 +1334,7 @@ static int da7280_probe(struct i2c_clien ret = devm_request_threaded_irq(dev, client->irq, NULL, da7280_irq_handler, - DA7280_IRQ_FLAGS, + DA7280_IRQ_FLAGS | IRQF_ONESHOT, "da7280-haptics", haptics); if (ret != 0) { dev_err(dev,