From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] igb_uio: only check for pci bridge if supported by linux kernel Date: Fri, 20 Apr 2018 11:08:01 +0200 Message-ID: <1927692.e1bpPFthey@xps> References: <8CEF83825BEC744B83065625E567D7C24E0AE9AB@IRSMSX108.ger.corp.intel.com> <20180417175225.41628-1-ajit.khaparde@broadcom.com> <4384be8c-8668-7897-8409-ff4707e4588c@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit , Scott Branden To: Ajit Khaparde Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 83E7D8DA4 for ; Fri, 20 Apr 2018 11:08:04 +0200 (CEST) In-Reply-To: <4384be8c-8668-7897-8409-ff4707e4588c@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/04/2018 20:07, Ferruh Yigit: > On 4/17/2018 6:52 PM, Ajit Khaparde wrote: > > From: Scott Branden > > > > Starting from Linux v3.16 pci_is_bridge() is in linux/pci.h, > > in previous versions it is in drivers/pci/pci.h which is private header. > > > > Fix build error when calling pci_is_bridge by not calling/supporting > > pci_is_bridge with kernel versions before 3.16. > > > > Fixes: 6f0841b7701b ("igb_uio: bind error if PCIe bridge") > > > > Signed-off-by: Scott Branden > > Signed-off-by: Ajit Khaparde > > Reported-by: Ferruh Yigit > > Acked-by: Bernard Iremonger > > Acked-by: Ferruh Yigit Applied, thanks