Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp773305imm; Wed, 26 Sep 2018 06:38:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV60wHb0y0VckwDHoPICE6OoaEGd7XuhMMIDSn/Gs8uFVPzqBu0P3g+8C4rFt9uUR37PsNuCg X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr6227969pln.60.1537969096673; Wed, 26 Sep 2018 06:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537969096; cv=none; d=google.com; s=arc-20160816; b=AOmDTAFtj9CmKVPpcriMcIpSUr5zO+TuxrE+Aqyrrq3C4RIWa9SP0808iQU3Ex+vWE 2CpEx7N9BKLC564ly7jslP3ULfKUvNhk4DAIbDFeN7Nz+7d4e9zbJK2Qo3ozqBpb1RiL Eh2xQs1hIwQhL3pJXjHYhmc53zh5zDd/iguMHLPRgDeHr/gEwIECPu9jIj10NS8ZtB+G sbzB2r94M1FZiEDC/K4eZDa9hjACaGIQxnQchHzcoNYEm3jCPyzu2WMxYJQ4mj2c96Mr cfWRh8rr8nJJwdJ14V0iRe8My4isJYOP/rMzpykPSdqCw/gTyvwgMTPWUDgCLYjnxSYv i1VA== 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; bh=/giNlHmLwfHtLLbjEuKL9ePEdPY1VkOcgHs5LwyTcnw=; b=mDVyoqBjbOI2/6gYde07SoLbnBAxnW2Ek8vmw4kamsnlR0H9CJCMaQuPlLP6c/f//4 ycCNnKg67vGvCrpfqAXspE0ZQj5sYNlJ+Dz33ONHEutLt2lNDJNOxa3GUfzASpBGOxL4 hlQAFMOcq9fc8I4gssPMFCSs3Q+6YFyqjqD9Wjr+BZz3KFmqrrgx8DJPACkmbm2FrSjq s3KlbfJkTQ+OsMWo3CMj98nQ/+OhD7flKHWEgBxxoJ/WWFU3ddJl9ZGl8sU4j0vVwgd9 lA8PY9Fz+44/u0WgfEtHvweAbMwxVfLo6oNpKTkAbVDPd1pAAQ1GT5BTgarKD2lr2fLP Nf+w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10-v6si857745pge.615.2018.09.26.06.38.00; Wed, 26 Sep 2018 06:38:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727184AbeIZTuz (ORCPT + 99 others); Wed, 26 Sep 2018 15:50:55 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:47531 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbeIZTuy (ORCPT ); Wed, 26 Sep 2018 15:50:54 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5A0Z-0004TO-Jg; Wed, 26 Sep 2018 15:37:39 +0200 Received: from pza by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1g5A0Y-0005wG-1C; Wed, 26 Sep 2018 15:37:38 +0200 Date: Wed, 26 Sep 2018 15:37:38 +0200 From: Philipp Zabel To: Arnd Bergmann Cc: Mauro Carvalho Chehab , Hans Verkuil , Randy Dunlap , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: imx-pxp: include linux/interrupt.h Message-ID: <20180926133738.GA19690@pengutronix.de> References: <20180926130139.2320343-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926130139.2320343-1-arnd@arndb.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 15:32:04 up 132 days, 1:12, 183 users, load average: 2.06, 2.81, 4.27 User-Agent: Mutt/1.10.0 (2018-05-17) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: pza@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, Sep 26, 2018 at 03:01:26PM +0200, Arnd Bergmann wrote: > The newly added driver fails to build in some configurations due to a > missing header inclusion: Thank you, did you see this error on an older kernel version and rebase the patch afterwards? > drivers/media/platform/imx-pxp.c:988:8: error: unknown type name 'irqreturn_t' > static irqreturn_t pxp_irq_handler(int irq, void *dev_id) > ^~~~~~~~~~~ > drivers/media/platform/imx-pxp.c: In function 'pxp_irq_handler': > drivers/media/platform/imx-pxp.c:1012:9: error: 'IRQ_HANDLED' undeclared (first use in this function); did you mean 'IRQ_MODE'? > return IRQ_HANDLED; > ^~~~~~~~~~~ > IRQ_MODE > drivers/media/platform/imx-pxp.c:1012:9: note: each undeclared identifier is reported only once for each function it appears in > drivers/media/platform/imx-pxp.c: In function 'pxp_probe': > drivers/media/platform/imx-pxp.c:1660:8: error: implicit declaration of function 'devm_request_threaded_irq'; did you mean 'devm_request_region'? [-Werror=implicit-function-declaration] > ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, pxp_irq_handler, > ^~~~~~~~~~~~~~~~~~~~~~~~~ > devm_request_region > drivers/media/platform/imx-pxp.c:1661:4: error: 'IRQF_ONESHOT' undeclared (first use in this function); did you mean 'SA_ONESHOT'? > IRQF_ONESHOT, dev_name(&pdev->dev), dev); > > Fixes: 51abcf7fdb70 ("media: imx-pxp: add i.MX Pixel Pipeline driver") > Signed-off-by: Arnd Bergmann > --- > drivers/media/platform/imx-pxp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/platform/imx-pxp.c b/drivers/media/platform/imx-pxp.c > index 229c23ae4029..b76cd0e8313c 100644 > --- a/drivers/media/platform/imx-pxp.c > +++ b/drivers/media/platform/imx-pxp.c > @@ -16,6 +16,7 @@ > #include This line was recently added in commit b4fbf423cef9 ("media: imx-pxp: fix compilation on i386 or x86_64") > #include > #include > +#include So this should not be necessary anymore. > #include > #include > #include > -- > 2.18.0 > > regards Philipp