Received: by 10.213.65.68 with SMTP id h4csp346464imn; Tue, 13 Mar 2018 06:21:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELu6kuXcP66JATRlLEmQGqjB+mH43yX1IEswncaPqU117VU9pduVC6LyHW8vph8WjjtBlZQj X-Received: by 10.101.83.199 with SMTP id z7mr497166pgr.105.1520947300907; Tue, 13 Mar 2018 06:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520947300; cv=none; d=google.com; s=arc-20160816; b=MPu31F3XNWee4R1j0TW5rqNwHhgMIsvK/nO9HwO9SEQKb+OfWNGIGKmeHavHTZ6JNY cx97tPeZocIbwgyjoL2ZJfJ+EBGdod9/SNXwjdxQHMmWEoq1UGvxFBWUw2BzQwr9/vGm g1s1kaFp61ZKQEeVyQ8v2Vtw1moS0uLOP7RMDMtY2DzSkhRRHaa00WMLJwNkT+Yt/0+U RO6nKsY2TxndfYHGzhR/bIsN/aBZXl21Exw96imijxmwF58pgx0UuMDqa3zZ+XvaJcEY K//9vi0czJtTbsUxjvPVn6PxLuQMQlXfsusiWR9zW9Ru4PXAbOMm5/GwQKJd3ig9MPpS Vsrw== 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:arc-authentication-results; bh=B4p96RNawP3Gga6VG2FlaE2bYDfC7/+5gSMR4Q3KiSM=; b=GU2rVzjQz6FdEF4qhlsbmI7rMgMQoR+rHcyPA3Euz0EcH2SrO2jpYxnljm3Khk0KNM w6hPVsFYF722hZg1MUjWM30MnGwSo54mEw2FLcptQX+GSXr6tZWosLiwd8Fx5yeyd3Df ylDeau6GsR+7cM2BWRGwrU5AJrdgb9xZ0ZlSd7NuAkgXyrTZQ6YvqSxKu80fvaDaqtLz TWxTvRZ7BQMSaqxQTL4v+2dszOutrMPEVbeQ+sCrTVl3krRmo6BZWM0z0aJVz0jk7Wbi 8KNSpb3pKKWBVhs4a4AqludnYrXqodRVhL5a2ZLZJAq/pkGiySKMZMvelJdYRsf4i1ZB uabQ== 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 e87si139378pfk.322.2018.03.13.06.21.26; Tue, 13 Mar 2018 06:21:40 -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 S1752703AbeCMNUH (ORCPT + 99 others); Tue, 13 Mar 2018 09:20:07 -0400 Received: from mga06.intel.com ([134.134.136.31]:2871 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752406AbeCMNUE (ORCPT ); Tue, 13 Mar 2018 09:20:04 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 06:20:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,464,1515484800"; d="scan'208";a="38400560" Received: from ssaleem-mobl4.amr.corp.intel.com (HELO ssaleem-mobl1) ([10.122.32.89]) by orsmga001.jf.intel.com with SMTP; 13 Mar 2018 06:20:01 -0700 Received: by ssaleem-mobl1 (sSMTP sendmail emulation); Tue, 13 Mar 2018 08:20:01 -0500 Date: Tue, 13 Mar 2018 08:20:00 -0500 From: Shiraz Saleem To: Arnd Bergmann Cc: Faisal Latif , Doug Ledford , Jason Gunthorpe , Artemy Kovalyov , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] 40iw: include linux/irq.h Message-ID: <20180313132000.GA18400@ssaleem-MOBL4.amr.corp.intel.com> References: <20180313120644.2619889-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180313120644.2619889-1-arnd@arndb.de> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > 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 > --- Looks like you beat me to it. 0-day caught this on rdma-nxt and I was going to send the fix today. Typo in the subject. 40iw --> i40iw. Othwerwise, looks good. Thanks for the patch, Arnd! Shiraz