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

Ferruh Yigit ferruh.yigit at intel.com
Tue Apr 17 20:07:00 CEST 2018


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>


More information about the dev mailing list