From patchwork Tue Mar 13 12:06:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 131450 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp644938ljb; Tue, 13 Mar 2018 05:07:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELvD1AvWBandDx/aGeFRiOeCZ8OHZtFC7WgvoAtPs5SxSbcCohBwylPspceWFqWfKo309wnN X-Received: by 10.98.32.28 with SMTP id g28mr392802pfg.182.1520942832860; Tue, 13 Mar 2018 05:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520942832; cv=none; d=google.com; s=arc-20160816; b=HyU4dU4b80Nk2022CQkDvoVxQiZHsBTjK5a0Lu2gz9RW3ubkRjL7JWeAFzOFQ59cVG HU25jWzDan+QVuVQd0ii8BpV2RQSCQdrpM+9cv45hRN47CWpKzywgZDQSHxrjCL2o+U4 qIccomzq340brTVZBQHQkW03KlOS3+XtDnQdwpPmifVRgpFaZ8fdllszWno2fm9zAtbB bK0xJfsCkoFTvIdQMcJLB4xbMMJUzMmqZnsqf602+kFMGJZ6wX3AGPiyv9g69g8oPNx4 I9DYiEETdNtFt68LOdBdnVkLvqzUC6C0CxQOUpEytRdP7oLcvoDHxkOZhsLF9OcTanBv JzhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=NjtKQEVn4cUw9Adt1SWTaWOtIo23fC43T0Ey1Yf5gRY=; b=ETnZJvEEMsWpcqMKJJpRB/I1Xp071pWnNGQI6rkra8hA8hkspNckiCcdxyMRKt8CP4 SBIHiVQEfLI0f7D/0e+9C8y9Cpg5snB7/R+BSbfpx8fe46XEf5YwNJS0Ork28V1PUjU/ D1zolSGL2SDch2BvHJvdbrfs8kQw0PMWXqKCs+dWu6rWv1ngsSOh0KAEVmEYwBz6AJej ynruyS7DUaxEN9AnrKuYkSIETe49FI8xG80RsVGuEDeKULbOylvp5/0V0R/PU3uQa7f4 ZBqMFEpFPib6stX+6JTK15Edx0hxXPt9l6bV1duICkUhLqYkCmvNr4MMQHgVADs5MtwR LadQ== 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 s3-v6si55812plb.4.2018.03.13.05.07.12; Tue, 13 Mar 2018 05:07:12 -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 S1752535AbeCMMHJ (ORCPT + 28 others); Tue, 13 Mar 2018 08:07:09 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:37991 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933477AbeCMMHC (ORCPT ); Tue, 13 Mar 2018 08:07:02 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0LkXZc-1eLHQB0kaK-00aR9C; Tue, 13 Mar 2018 13:06:47 +0100 From: Arnd Bergmann To: Faisal Latif , Shiraz Saleem , Doug Ledford , Jason Gunthorpe Cc: Arnd Bergmann , Artemy Kovalyov , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] 40iw: include linux/irq.h Date: Tue, 13 Mar 2018 13:06:20 +0100 Message-Id: <20180313120644.2619889-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:v77/dRA2M93IdkgcSz0tV4WtOUDGO5yRvpeO1YeePIS3pNOWypu 0vx0Q15AywkC9UcQ+cGKJ/CgixXY12FoWaTpQZz9jk9xZvSyVqrY+nlrUHFF3DyQvBwS0NK 4D4UqSjIbI6YpUUPfF3bqEWohT/ipM6EwI0fI+KOVto5QXHVEiM19gzPeDvephAsUxQDea8 Ksa0JeAKN6H1a4RGSfygQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:eyexsJRGOyk=:9ONSJYhHm7ochn95UbwJnJ hyFXodccDcCkFJEHXIjWDrYc437sLPT5gFiuWivTszjSr9KeKGKR4LjttjqyEVwgvo8oNuSSs RPi564LLOGKuM3hrvIT20CX1qNelEKTVJB+SXZpeNpu5+24pXagywXozb7uJsj+ha31I62fm+ 9Jwf49Kg92oGJoJdUDdVKib/LEBkEQaI0aDtdBBnfa6YltwXX8TirROcPpKx6CqPL5devXNUo F2cL5njfkS4mal15jMjopF/zlLOzC3vrrqxe1xNO5snlNUHmZsrnOn44mEaU/YxHQ/EyS/O+X is9sJKYJ28TA6K3app1aLHquYVTLL0xCdeTlpQ6njfI/DRwXIt75kzyTriN5/zEJQQbB93dqB zjKhVmipvOp8FmBB9dkm2O31044svVt22OOsvrPr7SWNTDbmfZI/4xmsKCSx0BJb5909D/5we vMTUYQqAbC72nQSbQpMbtjMRJmu4IfHY56S8eKmQflcbympSGlEmU3pgc6R4MlfG187/96BOH rWiGwK/ruGywr2l+TwINJu+2EtiHEYZLAtLVgo8thwPuaggzj/lXKG35xXKWgSDEHv3WAxUuC MMBDKX1cuPPxVNFAEzQUXOwUJ+nbiCU5DzzwVoX6KYt8IXVabVerFL5BxDmfuuB5mONHv1Eym NglkGOd9cnPRSUtz7byqmbvWWN6LbazcBgSRUfaaFy78B32wygeDwMEreCSVWLKIinDEEFrc0 xxzgJM/QZrZ7hB+5zxfckUXEJyLkBZdE6Uo7Sw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get a build failure on ARM unless the header is included explicitly: drivers/infiniband/hw/i40iw/i40iw_verbs.c: In function 'i40iw_get_vector_affinity': drivers/infiniband/hw/i40iw/i40iw_verbs.c:2747:9: error: implicit declaration of function 'irq_get_affinity_mask'; did you mean 'irq_create_affinity_masks'? [-Werror=implicit-function-declaration] return irq_get_affinity_mask(msix_vec->irq); ^~~~~~~~~~~~~~~~~~~~~ irq_create_affinity_masks drivers/infiniband/hw/i40iw/i40iw_verbs.c:2747:9: error: returning 'int' from a function with return type 'const struct cpumask *' makes pointer from integer without a cast [-Werror=int-conversion] return irq_get_affinity_mask(msix_vec->irq); Fixes: 7e952b19eb63 ("i40iw: Implement get_vector_affinity API") Signed-off-by: Arnd Bergmann --- drivers/infiniband/hw/i40iw/i40iw_verbs.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.c b/drivers/infiniband/hw/i40iw/i40iw_verbs.c index a51798578f27..f3af952402e9 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_verbs.c +++ b/drivers/infiniband/hw/i40iw/i40iw_verbs.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include