[dpdk-dev] [PATCH v2] vfio: fix compile on older kernels

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 27 15:17:49 CEST 2017


2017-03-23 12:56, Anatoly Burakov:
> From: "Burakov, Anatoly" <anatoly.burakov at intel.com>
> 
> Fixing compile failures for kernels without sPAPR IOMMU support.
> 
> Fixes: 0fe9830b5345 ("eal/ppc: support sPAPR IOMMU for vfio-pci")

A blank line is missing also here ;)

> Signed-off-by: Burakov, Anatoly <anatoly.burakov at intel.com>
> ---
> v2: Fixed whitespace and newlines
> 
>  lib/librte_eal/linuxapp/eal/eal_vfio.h | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

When building for ARM, I see this error:
error: redefinition of 'struct vfio_iommu_spapr_tce_info'



More information about the dev mailing list