Received: by 10.213.65.68 with SMTP id h4csp1217651imn; Wed, 14 Mar 2018 13:12:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELt6Xcywen22E5O5OwcYa3L6UcBvPPM6G+poHtcdhV1fXXSTZfP1h/M5nTUcT4JIS9Mh6EZA X-Received: by 10.101.88.130 with SMTP id d2mr4095518pgu.383.1521058328992; Wed, 14 Mar 2018 13:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521058328; cv=none; d=google.com; s=arc-20160816; b=h76SGA71o169fd+U2BpTYzQ4HLp9SpzhnRktWPkvvO9+6SD28PPLEpWjyhd44ByP2h diKpJ5MtG7LK6TbUKcfTA5YGhbpf7Vcye9wIzTpTqcyT74ST5dpOFMowpK/FrOrIiNiH aM5sr0ldOezWQEsfLGWnZmptUOm3iT34e/iQkyfqH2MBySbYQT+YBnbVdLdaGAeH7Fpj qwMCC7shz1LecxVJGE/ZzoKA4HecNnpEQi1NwveW2nFI7VLS+/a5XSyTnIPOAh34JOAY VVVkcmBMLKXMn0L7OFaJMghCfD+vq0HNQQjiSHVLqAKKik4A8YM65jPhzrT3ev6V0Dgu rNqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=4qlw6HPK7JFL+ZJi+kLtQTcOUR/Ko44PwCeNKp4LQC4=; b=O+mOYjj/mn+VPuZg/HP1j1c6HprZ14ft61FrwiCVM4J+1By5Hx6NNoZJdmQTijPfGe Hmpbjt35ztuiqQMIgKJGUGf0/EIhCncGeiptmhF6L33gfL3E0GPB80/2mRxePn0eplM4 ve7CKkyZ5tKBnz9+uMLXWShka5Vd2s/2b6lAJGuFvV+uPVE6xEVJAqfprFyijoAWUZGD SUX0u5YJey6Q2A1De+yJsduOeBWg9lwl/7OQm4V13FyBdDAf3PXRcSZ80FHtKTPooRbI PtQCqvcagHoObtXitK1uDO38myopLsprvPNxc0bkcb8j2G6BDVn6hHuB1Q7B8vhHmDxo Bfow== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h187si292665pgc.294.2018.03.14.13.11.53; Wed, 14 Mar 2018 13:12:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751543AbeCNUKp (ORCPT + 99 others); Wed, 14 Mar 2018 16:10:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51376 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbeCNUKo (ORCPT ); Wed, 14 Mar 2018 16:10:44 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4ADCB80F98; Wed, 14 Mar 2018 20:10:44 +0000 (UTC) Received: from haswell-e.nc.xsintricity.com (ovpn-120-147.rdu2.redhat.com [10.10.120.147]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8A570608F7; Wed, 14 Mar 2018 20:10:43 +0000 (UTC) Message-ID: <1521058242.18703.103.camel@redhat.com> Subject: Re: [PATCH] 40iw: include linux/irq.h From: Doug Ledford To: Shiraz Saleem , Arnd Bergmann Cc: Faisal Latif , Jason Gunthorpe , Artemy Kovalyov , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 14 Mar 2018 16:10:42 -0400 In-Reply-To: <20180313132000.GA18400@ssaleem-MOBL4.amr.corp.intel.com> References: <20180313120644.2619889-1-arnd@arndb.de> <20180313132000.GA18400@ssaleem-MOBL4.amr.corp.intel.com> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-/ymUGrBBWfd4Dv/wwzyH" Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 14 Mar 2018 20:10:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-/ymUGrBBWfd4Dv/wwzyH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2018-03-13 at 08:20 -0500, Shiraz Saleem wrote: > On Tue, Mar 13, 2018 at 01:06:20PM +0100, Arnd Bergmann wrote: > > We get a build failure on ARM unless the header is included explicitly: > >=20 > > drivers/infiniband/hw/i40iw/i40iw_verbs.c: In function 'i40iw_get_vecto= r_affinity': > > drivers/infiniband/hw/i40iw/i40iw_verbs.c:2747:9: error: implicit decla= ration of function 'irq_get_affinity_mask'; did you mean 'irq_create_affini= ty_masks'? [-Werror=3Dimplicit-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 f= rom integer without a cast [-Werror=3Dint-conversion] > > return irq_get_affinity_mask(msix_vec->irq); > >=20 > > Fixes: 7e952b19eb63 ("i40iw: Implement get_vector_affinity API") > > Signed-off-by: Arnd Bergmann > > --- >=20 > Looks like you beat me to it. 0-day caught this on rdma-nxt and I was goi= ng to send the fix today.=20 >=20 > Typo in the subject. 40iw --> i40iw. Othwerwise, looks good. >=20 > Thanks for the patch, Arnd! >=20 > Shiraz >=20 Thanks, applied. --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-/ymUGrBBWfd4Dv/wwzyH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAlqpgcIACgkQuCajMw5X L91F4w/+OSKz9gxNSVsdcK3wkvZGyb9imq3bUVOweaA9a5sWHrO9Nv0qXUwTf6PP Pr7uyv1FHug0NYZNYF10E+d3hrs8c7DiJpKpXvrDGJA3Jz9Lj9VRSKoYB+X81FA5 jWw5r7haoh67kj6j18VspIcQ0znJoJUTNfhHJng0I7WYj/X2EgVq/mz+N3VNgwG4 u2V7qtnhdlst3bMfOtyAigh8UzojVDmSV1rQClUG0uLz/6EVJkAOv6UiP30hWcSh G9tXTIeJSJ+jOM0X1jfuMhSb0yTTfLKWCAdCUHRs29VifTfz6OgfuRDtAhr2FjaT 7dAFMMFhjwmA84O84TUm8KYjP55au9GKvdGoq+oTNqNC2nySJdoNtFXIG51FFv6P YfBE9RQxyb81jASUQrWQgMAJvaeTGtZFO/TonMVBLUxTcJYgKdibrr1Pd6U49Kik bs3QiLKYjp34RGedrLixP6BXpEgO3KtdnM5IEiqR7ftldBEHBDArv1ZoiYp6WRl0 U+NB3lBxd8EKImGXCqRI5qmYHIfxsvp9S3ZlUk6HghhTZhrAiVvH4tLXkktqYRWB ncr5OmkvyWsMVelyjdJgaGdDSkZi3dlG50gi6D6KLrYqxIA0iCao2HwrV+NeQrW9 PGPXR1FG1VDyHOQVMh36Zv4Y1eEbLAM/Gfi/62U+FPdU8J9ChRY= =hbze -----END PGP SIGNATURE----- --=-/ymUGrBBWfd4Dv/wwzyH--