[dpdk-dev] [PATCH v2] igb_uio: only check for pci bridge if supported by linux kernel

Thomas Monjalon thomas at monjalon.net
Fri Apr 20 11:08:01 CEST 2018


17/04/2018 20:07, Ferruh Yigit:
> On 4/17/2018 6:52 PM, Ajit Khaparde wrote:
> > From: Scott Branden <scott.branden at broadcom.com>
> > 
> > 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 <scott.branden at broadcom.com>
> > Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> > Reported-by: Ferruh Yigit <ferruh.yigit at intel.com>
> > Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks





More information about the dev mailing list