Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4099534pxf; Tue, 23 Mar 2021 02:39:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwICpm5cp28dv1xVGftoyrqPoNj5GRfJ3IpfldTC6QMoN4qEVsMTMte52OTF9pqqnfR3hKZ X-Received: by 2002:aa7:c353:: with SMTP id j19mr3654258edr.263.1616492355688; Tue, 23 Mar 2021 02:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616492355; cv=none; d=google.com; s=arc-20160816; b=YtpGShWvSKOHFJDB+rd+daWouCBpfiiMnuKb5rlokc/n5yqY1E3aI0wYxFRwcdVPaU QdxpHES0ihvpxgVYQfMBUKzWUI2ctiKYquDTEgAaJ40nAkmXszVM4c4L2FKdcK+i2DKO lUnmLg+zTqQUppeLiptVOyqnePG6F0ll6BXkSu5P4NtJWghAjiHFRGzsoyPrwnzY0NIg CVzR4JpPyDnOzD+KU+8R1hgJpXvgRJTb/JKC2jpKYX1YRpiwDQxylmzeF4ecTz4k3ayR YL5Bqlwq0am7RIazIGbcdZ1pmhBwnOhB7X4jbkqiwXF4lBYVPQPMOB7YhF0rDEHBW+pn E1zA== 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=JbIhTSr83ipWLej73bszxSVsrBka5pW5N9CKljtD9Qg=; b=VK+FIJAkX6WwJ8oEQ6LKaS7226HsGTDT9OFC7snzHVNh9RaedrB2m5p5FizVLF5NmX qbyik6tdEYwmQRMUE654s5we6p/eHmiSn+Z2Ki7s2qyq/LaupvUvyISaHxtWhB7KYQGa x6WNd3k/Kp9gGKBN2NquwZgjH+4hS90fz4kD3A/XsdpMnevAJqSg5jicZehUBx0vV7qE IhKx4hKushq64uV6d1FugsYdELlNVcYlmJtlXuywVzQ260W0BEJun+a2uo3rBQyVDW6+ 2Y+3z/p6vJhDKimFNEaRVoljm/QS+94Nw6jidUpndgX9oUT4lqHh3C3J7EM/VTBVL0Cu /YGg== 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 w26si11838789ejn.699.2021.03.23.02.38.52; Tue, 23 Mar 2021 02:39:15 -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 S229915AbhCWJfA (ORCPT + 99 others); Tue, 23 Mar 2021 05:35:00 -0400 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:32792 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbhCWJe5 (ORCPT ); Tue, 23 Mar 2021 05:34:57 -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=e01e04426;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UT38NNk_1616492094; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UT38NNk_1616492094) by smtp.aliyun-inc.com(127.0.0.1); Tue, 23 Mar 2021 17:34:55 +0800 From: Yang Li To: tomba@kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH v2] drm/omap: dsi: Add missing IRQF_ONESHOT Date: Tue, 23 Mar 2021 17:34:53 +0800 Message-Id: <1616492093-68237-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: ./drivers/gpu/drm/omapdrm/dss/dsi.c:4329:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Reported-by: Abaci Robot Signed-off-by: Yang Li --- Change in v2: -Modify the fourth parameter, not the first drivers/gpu/drm/omapdrm/dss/dsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index b31d750..5f1722b 100644 --- a/drivers/gpu/drm/omapdrm/dss/dsi.c +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c @@ -4327,7 +4327,8 @@ static int omap_dsi_register_te_irq(struct dsi_data *dsi, irq_set_status_flags(te_irq, IRQ_NOAUTOEN); err = request_threaded_irq(te_irq, NULL, omap_dsi_te_irq_handler, - IRQF_TRIGGER_RISING, "TE", dsi); + IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "TE", dsi); if (err) { dev_err(dsi->dev, "request irq failed with %d\n", err); gpiod_put(dsi->te_gpio); -- 1.8.3.1