[dpdk-dev] [PATCH] virtio: Fix compilation issue on freebsd

Thomas Monjalon thomas.monjalon at 6wind.com
Sat Feb 28 00:13:49 CET 2015


> > This patch fixes the compilation issue on freebsd:
> > 
> > /root/qwan/tmp/dpdk_org/lib/librte_pmd_virtio/virtio_ethdev.c: In function
> > 'virtio_resource_init':
> > /root/qwan/tmp/dpdk_org/lib/librte_pmd_virtio/virtio_ethdev.c:1071:56: error:
> > unused parameter 'pci_dev' [-Werror=unused-parameter]  static int
> > virtio_resource_init(struct rte_pci_device *pci_dev)
> >                                                         ^
> > cc1: all warnings being treated as errors
> > 
> > Signed-off-by: Changchun Ouyang <changchun.ouyang at intel.com>
> 
> Acked-by:  Cunming Liang <cunming.liang at intel.com>

Applied, thanks


More information about the dev mailing list