Hi Santosh, > Patch fixes below build error: > /home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa > pp/eal/eal_pci_vfio.c: > In function ?pci_vfio_set_iommu_type?: > /home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa > pp/eal/eal_pci_vfio.c:243:2: > error: ?for? loop initial declarations are only allowed in C99 mode > for (unsigned idx = 0; idx < RTE_DIM(iommu_types); idx++) { > ^ > /home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa > pp/eal/eal_pci_vfio.c:243:2: > note: use option -std=c99 or -std=gnu99 to compile your code > > Signed-off-by: Rizwan Ansari <ransari at mvista.com> > Signed-off-by: Santosh Shukla <sshukla at mvista.com>
Oops, thanks, I'll submit a v2. Thanks, Anatoly