From patchwork Fri Jul 28 13:35:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9868825 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5E2E86037D for ; Fri, 28 Jul 2017 13:36:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4688F22376 for ; Fri, 28 Jul 2017 13:36:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B6C0288F4; Fri, 28 Jul 2017 13:36:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABE8422376 for ; Fri, 28 Jul 2017 13:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbdG1NgR (ORCPT ); Fri, 28 Jul 2017 09:36:17 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:56480 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbdG1NgQ (ORCPT ); Fri, 28 Jul 2017 09:36:16 -0400 Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M4Hw3-1ds4FW0uG3-00rm7C; Fri, 28 Jul 2017 15:35:45 +0200 From: Arnd Bergmann To: "David S . Miller" , Lijun Ou , "Wei Hu(Xavier)" , Doug Ledford , Sean Hefty , Hal Rosenstock Cc: Florian Westphal , Arnd Bergmann , Salil , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [net-next PATCH] IB/hns: include linux/interrupt.h Date: Fri, 28 Jul 2017 15:35:22 +0200 Message-Id: <20170728133539.516824-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:b+ppBj3NIw5ER7hFcHRqIBEQcuVtoyWJE1gV4hE5qFHfJAPCrs3 1yeUNLRAQn4bF8rXlYuF1F6Ouf2bGqvKTXjYgsGejFrCpm13z0lxdddDq1BUAO18nfL/VlY DzkkjJXxG2/nhoUyun81EH7Nj9I1sCM1uNg/HOwzMEoD/O/E74jksjU1w/VSZ+NBRrRPdLP MfipdJMCTNX40FXtW0Xxw== X-UI-Out-Filterresults: notjunk:1; V01:K0:gs+qbJBIO/o=:+FPIjJ9ZeGkWZZnEGT7HHY 8CwtM2euTIxiDFG0N5TbByU92hp2EHE1PXO7b+6lA76Ct7oRxzPWq75haDir/0ptvWrXol3Ry ezw7dn1QMluY04iToIgCQHUEZEOIFaRx68yGykr1vkX3g1mitxFOOWe5/+AjH/QEt3Kl/LHyc zu/6piU2d1J3JFhOUCuzsAF98XVPG/iZrinTZFkXt3rsUItoAhyLxwECN0p+ts66uHXfHNmmk cXkzR1VVgjT2udEkE9nOhE1XkCn75fmz2uH7wO45lK+IZpBJjY+8cZySIX3LnLm6aa+ffeCX4 rhrmJv/LDPmNdC9tZSsV15YGpFnkwuJWdJscxDLlj5h7WAElzmHeeiRoWmQrpt8RSUmSzgVyu hg6Ta1E3ukx+UvoP2SN3SJ55GAdRSfNFP8tsCorbVKci+Ia056djaP/zVnol8TIK/R/qPanLD XpGdvOlvUcmPf5RkEYVaivg05M8UHRRPZgQyi3oD0Rvosoi+nU4wv+Gj6uzsym/x7XV6NoFKN mXeWS0z4u+a137WiERleF0TViMhfoedhlKhnXJAmZwaenV7w8ZRG4T+JXn+9K0yTWENGyGx/F VKV9KPOhl35e9W8VfL/oLqDv1rnUD9JyPenis2hIiHwUPAOJVRsVWHS5Vn71uofjZk4Az/Efs ad+V/uA2k4G2AAmvyqDMpFJzzkysmwf090HGpsdqnueyFvNntqv9+pFQXGAOfJx75Tnih+RT+ MJhlMnD5q4r5wQHQtWQpgxM/qOvxLOPwqu2Y9w== Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP I ran into this build error on linux-next: drivers/infiniband/hw/hns/hns_roce_eq.c:477:8: error: unknown type name 'irqreturn_t' static irqreturn_t hns_roce_msi_x_interrupt(int irq, void *eq_ptr) ^~~~~~~~~~~ drivers/infiniband/hw/hns/hns_roce_eq.c: In function 'hns_roce_msi_x_interrupt': drivers/infiniband/hw/hns/hns_roce_eq.c:485:9: error: implicit declaration of function 'IRQ_RETVAL'; did you mean 'BPF_RVAL'? [-Werror=implicit-function-declaration] return IRQ_RETVAL(int_work); I have bisected this to a seemingly unrelated change that happened to remove some indirect header inclusions. Simply including the required header explicitly fixes the build failure. Fixes: 09c7570480f7 ("xfrm: remove flow cache") Signed-off-by: Arnd Bergmann --- drivers/infiniband/hw/hns/hns_roce_eq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/hns/hns_roce_eq.c b/drivers/infiniband/hw/hns/hns_roce_eq.c index 50f864935a0e..b39d14b62355 100644 --- a/drivers/infiniband/hw/hns/hns_roce_eq.c +++ b/drivers/infiniband/hw/hns/hns_roce_eq.c @@ -31,6 +31,7 @@ */ #include +#include #include "hns_roce_common.h" #include "hns_roce_device.h" #include "hns_roce_eq.h"