[dpdk-dev] [PATCH] eal/bsdapp: fix compilation on FreeBSD

2015-05-11 Thread Thomas Monjalon
> Fixes: 6065355a "pci: make device id tables const" > > Following the above commit, compilation on FreeBSD with clang was broken, > giving the error message: > > .../lib/librte_eal/bsdapp/eal/eal_pci.c:438:16: fatal error: assigning to > 'struct rte_pci_id *' from 'const struct rte_pci_id

[dpdk-dev] [PATCH] eal/bsdapp: fix compilation on FreeBSD

2015-05-05 Thread Bruce Richardson
Fixes: 6065355a "pci: make device id tables const" Following the above commit, compilation on FreeBSD with clang was broken, giving the error message: .../lib/librte_eal/bsdapp/eal/eal_pci.c:438:16: fatal error: assigning to 'struct rte_pci_id *' from 'const struct rte_pci_id *' discards qu