Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10797861ybi; Thu, 11 Jul 2019 11:09:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqx85J0DSVqf09q72bEkedgy+1MhaiefWsWCWM6Mp5fy3gDEVgeO54Rdcq6GO4csftUJM9nh X-Received: by 2002:a63:3d0f:: with SMTP id k15mr5803289pga.343.1562868568353; Thu, 11 Jul 2019 11:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562868568; cv=none; d=google.com; s=arc-20160816; b=LNCCoMp77YFdTRcMhTrwdj/7x9dhF8yZDURHUXBeDPVjP/hzFVN58FjiI+InZ0LnAg oDhqD0Skm1O/gNIu4zPugyU+mTdwl/8Firh4ClsPOzVwpJpCD0f2FYzOJvWrcyljI/P4 SBaI/q0k6o6mCd3XeQSrWU2uB18Dy/mQBuemGK8C638/+JQ6QPsYgOIAEsLqaiqDKvSH grvvZlEZOZ8m5P5J8jWzgrPurQ+huCHzpfRlR5uR6gwLJj8NuMUCN/mN7OldiFnuB6ur IVkVL0QPCZ3L/HC7ZMUXwzP4B3w1eu5/cwykJsfWjtzQbNyaRyksqndCdmSu9AEX8t4O qVLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=xHJTxAeN+1DHjRmeQFcfiA2JAPbl1+ahBCADP6reZQ0=; b=pB8hku71y5lUS6oPKWOg0GMFrohDPaNp8YkY2g1RkI0q6fciWuGR72N9+R1+VTM9wj mgXy8BzgP0V5WsUesWfriv2THH9zNMyBUH21e9LWHIb+JY6aAJXHm4g2y12LVJ95IhXn aaj30c5o0v7LfliGeVCidnUqud5N+QcOZzx1gAt2l1JwZv2OEWB4ccRMMFfm7rry+ZNJ 10LlFB/gGR1vwbv35RlCWGlFxsRvOYAd6M0cDPNosZ214bgyw0EFj2UNa9EgAoqGnl0o Fso2FyHFCkxRaBjUUWFYOUL1/btRcf4Kd8wxNlTwm2CTxO9B3+d2IVHJS1IfMDm42LcN kLyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cFW7hCLL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd16si5558162plb.72.2019.07.11.11.09.13; Thu, 11 Jul 2019 11:09:28 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cFW7hCLL; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728885AbfGKR4V (ORCPT + 99 others); Thu, 11 Jul 2019 13:56:21 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:39553 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728355AbfGKR4V (ORCPT ); Thu, 11 Jul 2019 13:56:21 -0400 Received: by mail-pl1-f193.google.com with SMTP id b7so3416128pls.6; Thu, 11 Jul 2019 10:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=xHJTxAeN+1DHjRmeQFcfiA2JAPbl1+ahBCADP6reZQ0=; b=cFW7hCLLVUIvtCgyXqRQzoPJcg5Iex8WEX1KGJRimu0ab3YzyAKpzUK9DnV21MhAjU QIkPc5ZXsO9hD21ubOTgs2NXtdLaq95AYjwfhEPaVKEdD3RsGytBzxMjOu/JaMwMIuXN Qr/MVhwqA8RbQbfzzC2o5ovmGS4sx4YzGoLWt2HWWfTqBongbVj45WFU9Y0/+Zj9j3FI Y0AHigRgCUAmlfneCvWgwTbQOYlYe3iUQ732mm8mgxl4nt6PrFlpMm8yLm5ZVXOBxdYT Rp7NAhrKCftLprkPKv9F/qMX774K3+MFOVy0pTKZOOL+8jbmC0K6a5EEYdziXSJdtAkJ sqiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=xHJTxAeN+1DHjRmeQFcfiA2JAPbl1+ahBCADP6reZQ0=; b=AMOkEoLWeMstjSGO/fsqtLCel4IZgTfABj7s1dBQ9zUHuI47LYiU4yUlWSegaoqDLj Wfp/V1VnmKLDvR47odVITEMiljlW67lppnyvxQXAAOh6ghTdT2f/BbZv6V/8i81BcGVH QCYVuHsQM7TVW12b84Z++YHVmLu/NuU4Jp/yP3AHGq+v3a3i2CqBGfcQONLi4639O2hY BdJCyxPJu91BhEVkI8jb8lraHWBYIBbfRBf1n4qcouZWP2I7rVLZ4/QeXjArJXZkeBen JyM5scDtgCuiRrQpHy0Gl+P/oBgcZUjnrvFMfX41m9hZIx+mOpI9lllySJsmJ9xgI876 +9Uw== X-Gm-Message-State: APjAAAWHgt+JSTwxptSsAeYfdOlzKklfHc24jWvlIhPXzcs0FcVsqa0G xfOeAd1NgeMI2nblIKYz+ZmUhD0M X-Received: by 2002:a17:902:9f81:: with SMTP id g1mr5932032plq.17.1562867780488; Thu, 11 Jul 2019 10:56:20 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id u69sm11029659pgu.77.2019.07.11.10.56.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jul 2019 10:56:19 -0700 (PDT) Date: Thu, 11 Jul 2019 23:26:15 +0530 From: Hariprasad Kelam To: Alessandro Zummo , Alexandre Belloni , patches@opensource.cirrus.com, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers: rtc: rtc-wm831x: Add IRQF_ONESHOT flag Message-ID: <20190711175615.GA13651@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix below issue reported by coccicheck drivers//rtc/rtc-wm831x.c:436:7-32: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Signed-off-by: Hariprasad Kelam --- drivers/rtc/rtc-wm831x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-wm831x.c b/drivers/rtc/rtc-wm831x.c index d2e8b21..ccef887 100644 --- a/drivers/rtc/rtc-wm831x.c +++ b/drivers/rtc/rtc-wm831x.c @@ -435,7 +435,8 @@ static int wm831x_rtc_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(&pdev->dev, alm_irq, NULL, wm831x_alm_irq, - IRQF_TRIGGER_RISING, "RTC alarm", + IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "RTC alarm", wm831x_rtc); if (ret != 0) { dev_err(&pdev->dev, "Failed to request alarm IRQ %d: %d\n", -- 2.7.4