[dpdk-dev] [PATCH 03/10] igb_uio: dont wrap pci_num_vf function needlessly

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 23 10:20:36 CEST 2014


2014-07-18 09:14, Stephen Hemminger:
>  /* sriov sysfs */
> -int local_pci_num_vf(struct pci_dev *dev)
> -{
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)
> +static int pci_num_vf(struct pci_dev *dev)
>  	struct iov {
>  		int pos;
>  		int nres;

A brace is missing here.
Fixed in master branch:
	http://dpdk.org/browse/dpdk/commit/?id=282e1ec8570

-- 
Thomas


More information about the dev mailing list