From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] igb_uio: only check for pci bridge if supported by linux kernel Date: Tue, 17 Apr 2018 19:07:00 +0100 Message-ID: <4384be8c-8668-7897-8409-ff4707e4588c@intel.com> References: <8CEF83825BEC744B83065625E567D7C24E0AE9AB@IRSMSX108.ger.corp.intel.com> <20180417175225.41628-1-ajit.khaparde@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Scott Branden To: Ajit Khaparde , dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 31F227ED4 for ; Tue, 17 Apr 2018 20:07:02 +0200 (CEST) In-Reply-To: <20180417175225.41628-1-ajit.khaparde@broadcom.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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